diff --git a/include/boost/core/span.hpp b/include/boost/core/span.hpp index 99a2dd7..2e64262 100644 --- a/include/boost/core/span.hpp +++ b/include/boost/core/span.hpp @@ -351,8 +351,10 @@ private: detail::span_store s_; }; +#if defined(BOOST_NO_CXX17_INLINE_VARIABLES) template constexpr std::size_t span::extent; +#endif #ifdef __cpp_deduction_guides template