config.hpp 688 B

123456789101112131415161718192021
  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. #ifndef BOOST_NO_CONSTEXPR_IF
  9. /** Indicates whether the compiler supports constexpr if.
  10. If the user does not define any value for this, we assume that the
  11. compiler does not have the necessary support. Note that this is a
  12. temporary hack; this should eventually be a Boost-wide macro. */
  13. #define BOOST_NO_CONSTEXPR_IF
  14. #elif BOOST_NO_CONSTEXPR_IF == 0
  15. #undef BOOST_NO_CONSTEXPR_IF
  16. #endif
  17. #endif