From d32017a07cf468f38b1a258dc2542a3de05ae9d7 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Wed, 4 Sep 2024 08:42:20 -0700 Subject: [PATCH] closer --- include/range/v3/view/span.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/range/v3/view/span.hpp b/include/range/v3/view/span.hpp index 8ecda4694..0199a59bf 100644 --- a/include/range/v3/view/span.hpp +++ b/include/range/v3/view/span.hpp @@ -361,8 +361,10 @@ namespace ranges template RANGES_INLINE_VAR constexpr bool enable_borrowed_range> = true; +#if RANGES_CXX_INLINE_VARIABLES < RANGES_CXX_INLINE_VARIABLES_17 template constexpr detail::span_index_t span::extent; +#endif #if RANGES_CXX_DEDUCTION_GUIDES >= RANGES_CXX_DEDUCTION_GUIDES_17 template(typename Rng)(