// Distributed under the Boost Software License Version 1.0 https://www.boost.org/LICENSE_1_0.txt // Copyright Gero Peterhoff #ifndef BOOST_CONFIG_MORE_HPP #define BOOST_CONFIG_MORE_HPP #include #if (__cpp_constexpr < 201703L) #define BOOST_NO_CXX17_CONSTEXPR #endif #if defined(BOOST_NO_CXX17_CONSTEXPR) #define BOOST_CXX17_CONSTEXPR #else #define BOOST_CXX17_CONSTEXPR constexpr #endif #if (__cpp_constexpr < 202002L) #define BOOST_NO_CXX20_CONSTEXPR #endif #if defined(BOOST_NO_CXX20_CONSTEXPR) #define BOOST_CXX20_CONSTEXPR #else #define BOOST_CXX20_CONSTEXPR constexpr #endif #if (__cpp_constexpr < 202207L) #define BOOST_NO_CXX23_CONSTEXPR #endif #if defined(BOOST_NO_CXX23_CONSTEXPR) #define BOOST_CXX23_CONSTEXPR #else #define BOOST_CXX23_CONSTEXPR constexpr #endif #if defined(BOOST_NO_CXX17_INLINE_VARIABLES) #define BOOST_INLINE_STATIC_CONSTEXPR BOOST_STATIC_CONSTEXPR #else #define BOOST_INLINE_STATIC_CONSTEXPR inline BOOST_STATIC_CONSTEXPR #endif #if !__has_include() #define BOOST_NO_CXX23_HDR_STDFLOAT #endif #endif // BOOST_CONFIG_MORE_HPP