diff --git a/include/boost/parser/detail/text/transcode_view.hpp b/include/boost/parser/detail/text/transcode_view.hpp index 92f439a8..8eaedab2 100644 --- a/include/boost/parser/detail/text/transcode_view.hpp +++ b/include/boost/parser/detail/text/transcode_view.hpp @@ -328,7 +328,11 @@ namespace boost::parser::detail { namespace text { #endif { public: - constexpr char8_view() requires std::default_initializable = default; + constexpr char8_view() +#if BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS + requires std::default_initializable +#endif + = default; constexpr char8_view(V base) : #if BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS project_view{}>{std::move(base)}