File indexing completed on 2025-09-17 08:49:52
0001
0002
0003
0004
0005 #ifndef BOOST_QVM_STATIC_ASSERT
0006
0007 # if __cplusplus >= 201103L
0008
0009 # include <utility>
0010 # define BOOST_QVM_STATIC_ASSERT(condition) static_assert(condition, "Boost QVM static assertion failure")
0011
0012 # else
0013
0014 # ifdef __GNUC__
0015 # define BOOST_QVM_ATTRIBUTE_UNUSED __attribute__((unused))
0016 # else
0017 # define BOOST_QVM_ATTRIBUTE_UNUSED
0018 # endif
0019
0020 # define BOOST_QVM_TOKEN_PASTE(x, y) x ## y
0021 # define BOOST_QVM_TOKEN_PASTE2(x, y) BOOST_QVM_TOKEN_PASTE(x, y)
0022 # define BOOST_QVM_STATIC_ASSERT(condition) typedef char BOOST_QVM_TOKEN_PASTE2(boost_qvm_static_assert_failure_,__LINE__)[(condition)?1:-1] BOOST_QVM_ATTRIBUTE_UNUSED
0023
0024 # endif
0025
0026 #endif