Address C++17 redeclaration of constexpr static

This commit is contained in:
Glen Fernandes 2024-04-11 00:52:26 -04:00
parent 31117ef800
commit 04cc766db3

View File

@ -351,8 +351,10 @@ private:
detail::span_store<T, E> s_;
};
#if defined(BOOST_NO_CXX17_INLINE_VARIABLES)
template<class T, std::size_t E>
constexpr std::size_t span<T, E>::extent;
#endif
#ifdef __cpp_deduction_guides
template<class I, class L>