From b7de5db7b8b8d61c1ccfe55e489541c46f4ae044 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Sun, 8 Mar 2020 14:25:09 -0400 Subject: [PATCH] Change C++ constexpr to use pseudo char_traits --- test/constexpr_tests.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/constexpr_tests.hpp b/test/constexpr_tests.hpp index a0f638c..3f4acb6 100644 --- a/test/constexpr_tests.hpp +++ b/test/constexpr_tests.hpp @@ -15,7 +15,7 @@ namespace boost { namespace static_strings { // char_traits aren't fully constexpr until c++20 -#if BOOST_STATIC_STRING_STANDARD_VERSION <= 201703L && BOOST_STATIC_STRING_STANDARD_VERSION >= 201402L +#ifdef BOOST_STATIC_STRING_CPP14 struct cxper_char_traits { using char_type = char;