Update config

This commit is contained in:
Krystian Stasiowski
2020-02-19 21:41:38 -05:00
parent 5e1808485d
commit a3cba482f9
2 changed files with 3 additions and 2 deletions

View File

@ -160,7 +160,7 @@ defined(__clang__) && \
// cases, we use whatever will make more constexpr work. // cases, we use whatever will make more constexpr work.
#if defined(__clang__) && \ #if defined(__clang__) && \
((defined(__GLIBCXX__) &&__GLIBCXX__ >= 20180726L \ ((defined(__GLIBCXX__) &&__GLIBCXX__ >= 20180726L \
&& __GLIBCXX__ <= 20190812L) || defined(_MSC_VER)) && __GLIBCXX__ <= 20191102L) || defined(_MSC_VER))
#define BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS #define BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS
#endif #endif

View File

@ -592,7 +592,8 @@ ptr_in_range(
// of conformance, we will settle for the best option that is available. // of conformance, we will settle for the best option that is available.
// We don't care about this in C++11, since this function would have // We don't care about this in C++11, since this function would have
// no applications in constant expressions. // no applications in constant expressions.
#if defined(BOOST_STATIC_STRING_CPP14) && defined(BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS) #if defined(BOOST_STATIC_STRING_CPP14) && \
defined(BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS)
#ifdef BOOST_STATIC_STRING_IS_CONST_EVAL #ifdef BOOST_STATIC_STRING_IS_CONST_EVAL
// Our second best option is to use is_constant_evaluated // Our second best option is to use is_constant_evaluated
// and a loop that checks for equality, since equality for // and a loop that checks for equality, since equality for