siplasplas
A library for C++ reflection and introspection
concept.hpp
1 #ifndef SIPLASPLAS_TYPEERASURE_CONCEPTS_CONCEPT_HPP
2 #define SIPLASPLAS_TYPEERASURE_CONCEPTS_CONCEPT_HPP
3 
4 #include <type_traits>
5 
6 namespace cpp
7 {
8 
9 namespace concepts
10 {
11 
27 template<bool Result, bool NoExcept = false>
28 class Concept : public std::integral_constant<bool, Result>
29 {
30 public:
31  static constexpr bool no_except = NoExcept;
32 };
33 
34 template<bool Result, bool NoExcept>
36 
37 }
38 
39 }
40 
41 #endif // SIPLASPLAS_TYPEERASURE_CONCEPTS_CONCEPT_HPP
Definition: canary_allocator.hpp:7
Represents a concept.
Definition: concept.hpp:28