From 04cc766db315c9b573fa96aaa214c8acd8a16d64 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Thu, 11 Apr 2024 00:52:26 -0400 Subject: [PATCH] Address C++17 redeclaration of constexpr static --- include/boost/core/span.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/core/span.hpp b/include/boost/core/span.hpp index 99a2dd7f..2e64262d 100644 --- a/include/boost/core/span.hpp +++ b/include/boost/core/span.hpp @@ -351,8 +351,10 @@ class span { detail::span_store s_; }; +#if defined(BOOST_NO_CXX17_INLINE_VARIABLES) template constexpr std::size_t span::extent; +#endif #ifdef __cpp_deduction_guides template