File indexing completed on 2025-01-18 09:51:08
0001
0002
0003
0004
0005
0006 #ifndef BOOST_QVM_STATIC_ASSERT
0007
0008 # if __cplusplus >= 201103L
0009
0010 # include <utility>
0011 # define BOOST_QVM_STATIC_ASSERT(condition) static_assert(condition, "Boost QVM static assertion failure")
0012
0013 # else
0014
0015 # ifdef __GNUC__
0016 # define BOOST_QVM_ATTRIBUTE_UNUSED __attribute__((unused))
0017 # else
0018 # define BOOST_QVM_ATTRIBUTE_UNUSED
0019 # endif
0020
0021 # define BOOST_QVM_TOKEN_PASTE(x, y) x ## y
0022 # define BOOST_QVM_TOKEN_PASTE2(x, y) BOOST_QVM_TOKEN_PASTE(x, y)
0023 # 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
0024
0025 # endif
0026
0027 #endif