uTL
micro Template library
defines.h
Go to the documentation of this file.
1 
21 #ifndef __utl_concepts_defines_h__
22 #define __utl_concepts_defines_h__
23 
26 
40 #if CXX_CONCEPTS
41  #define utlConstrainType(_Concept_) _Concept_
42 #else
43  #define utlConstrainType(_Concept_) typename
44 #endif
45 
49 #if CXX_CONCEPTS
50  #if __cpp_concepts <= 201507L
51  #define _utlConcept concept bool
52  #else
53  #define _utlConcept concept
54  #endif
55 #else
56  #define _utlConcept constexpr bool
57 #endif
58 
59 #ifndef CXX_LIB_INVOKE
60  #ifdef __cpp_lib_invoke
61  #define CXX_LIB_INVOKE __cpp_lib_invoke
62  #else
63  #define CXX_LIB_INVOKE 0
64  #endif
65 #endif
66 
68 
69 #endif /* __utl_concepts_defines_h__ */