Back to home page

EIC code displayed by LXR

 
 

    


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 // Copyright 2021 Peter Dimov
0005 // Distributed under the Boost Software License, Version 1.0.
0006 // https://www.boost.org/LICENSE_1_0.txt
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 // #ifndef BOOST_DESCRIBE_DETAIL_CONFIG_HPP_INCLUDED