forked from boostorg/static_string
Update config
This commit is contained in:
@ -160,7 +160,7 @@ defined(__clang__) && \
|
||||
// cases, we use whatever will make more constexpr work.
|
||||
#if defined(__clang__) && \
|
||||
((defined(__GLIBCXX__) &&__GLIBCXX__ >= 20180726L \
|
||||
&& __GLIBCXX__ <= 20190812L) || defined(_MSC_VER))
|
||||
&& __GLIBCXX__ <= 20191102L) || defined(_MSC_VER))
|
||||
#define BOOST_STATIC_STRING_NO_PTR_COMP_FUNCTIONS
|
||||
#endif
|
||||
|
||||
|
@ -592,7 +592,8 @@ ptr_in_range(
|
||||
// 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
|
||||
// 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
|
||||
// Our second best option is to use is_constant_evaluated
|
||||
// and a loop that checks for equality, since equality for
|
||||
|
Reference in New Issue
Block a user