forked from boostorg/static_string
Fix guard for constexpr tests
This commit is contained in:
@ -11,7 +11,7 @@
|
|||||||
#include <boost/static_string/static_string.hpp>
|
#include <boost/static_string/static_string.hpp>
|
||||||
|
|
||||||
// char_traits aren't constexpr until c++17
|
// char_traits aren't constexpr until c++17
|
||||||
#ifdef BOOST_STATIC_STRING_STANDARD_VERSION <= 201703L
|
#ifdef BOOST_STATIC_STRING_STANDARD_VERSION <= 201703L && BOOST_STATIC_STRING_STANDARD_VERSION >= 201402L
|
||||||
struct cxper_char_traits
|
struct cxper_char_traits
|
||||||
{
|
{
|
||||||
using char_type = char;
|
using char_type = char;
|
||||||
|
Reference in New Issue
Block a user