File indexing completed on 2025-01-18 09:30:40
0001 #ifndef BOOST_DESCRIBE_DETAIL_CONFIG_HPP_INCLUDED
0002 #define BOOST_DESCRIBE_DETAIL_CONFIG_HPP_INCLUDED
0003
0004
0005
0006
0007
0008 #if __cplusplus >= 201402L
0009
0010 # define BOOST_DESCRIBE_CXX14
0011 # define BOOST_DESCRIBE_CXX11
0012
0013 #elif defined(_MSC_VER) && _MSC_VER >= 1900
0014
0015 # define BOOST_DESCRIBE_CXX14
0016 # define BOOST_DESCRIBE_CXX11
0017
0018 #elif __cplusplus >= 201103L
0019
0020 # define BOOST_DESCRIBE_CXX11
0021
0022 # if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 7
0023 # undef BOOST_DESCRIBE_CXX11
0024 # endif
0025
0026 #endif
0027
0028 #if defined(BOOST_DESCRIBE_CXX11)
0029 # define BOOST_DESCRIBE_CONSTEXPR_OR_CONST constexpr
0030 #else
0031 # define BOOST_DESCRIBE_CONSTEXPR_OR_CONST const
0032 #endif
0033
0034 #if defined(__clang__)
0035 # define BOOST_DESCRIBE_MAYBE_UNUSED __attribute__((unused))
0036 #else
0037 # define BOOST_DESCRIBE_MAYBE_UNUSED
0038 #endif
0039
0040 #endif