1 // Copyright (C) 2016-2018 T. Zachary Laine 2 // 3 // Distributed under the Boost Software License, Version 1.0. (See 4 // accompanying file LICENSE_1_0.txt or copy at 5 // http://www.boost.org/LICENSE_1_0.txt) 6 #ifndef BOOST_YAP_CONFIG_HPP_INCLUDED 7 #define BOOST_YAP_CONFIG_HPP_INCLUDED 8 9 10 #ifndef BOOST_NO_CONSTEXPR_IF 11 /** Indicates whether the compiler supports constexpr if. 12 13 If the user does not define any value for this, we assume that the 14 compiler does not have the necessary support. Note that this is a 15 temporary hack; this should eventually be a Boost-wide macro. */ 16 #define BOOST_NO_CONSTEXPR_IF 17 #elif BOOST_NO_CONSTEXPR_IF == 0 18 #undef BOOST_NO_CONSTEXPR_IF 19 #endif 20 21 #endif 22