File indexing completed on 2025-08-05 08:09:28
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 #if defined(__cpp_concepts)
0012
0013 #define ACTS_REQUIRES(x) requires(x)
0014 #define ACTS_CONCEPT(x) x
0015 #define ACTS_STATIC_CHECK_CONCEPT(check_concept, check_type) \
0016 static_assert(check_concept<check_type>, \
0017 #check_type " does not fulfill " #check_concept)
0018
0019 #else
0020
0021 #define ACTS_REQUIRES(x)
0022 #define ACTS_CONCEPT(x) typename
0023 #define ACTS_STATIC_CHECK_CONCEPT(concept, type) \
0024 static_assert(true, "Dummy assertion")
0025
0026 #endif