From 6f17b603778fca08c3f18deca5cbd436a88c3fa4 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Thu, 23 Oct 2025 18:46:59 +0200 Subject: [PATCH] Guard test requiring string_view --- test/constexpr_tests.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/constexpr_tests.hpp b/test/constexpr_tests.hpp index 9b2e83c..3517488 100644 --- a/test/constexpr_tests.hpp +++ b/test/constexpr_tests.hpp @@ -171,8 +171,10 @@ testConstantEvaluation() a.substr(0); +#ifdef BOOST_STATIC_STRING_HAS_ANY_STRING_VIEW // subview a.subview(0); +#endif // copy char k[20]{}; @@ -606,4 +608,4 @@ testConstantEvaluation() #endif } } // static_strings -} // boost \ No newline at end of file +} // boost