Skip to content

Commit d32017a

Browse files
committed
closer
1 parent 2dc7499 commit d32017a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/range/v3/view/span.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,10 @@ namespace ranges
361361
template<typename T, detail::span_index_t N>
362362
RANGES_INLINE_VAR constexpr bool enable_borrowed_range<span<T, N>> = true;
363363

364+
#if RANGES_CXX_INLINE_VARIABLES < RANGES_CXX_INLINE_VARIABLES_17
364365
template<typename T, detail::span_index_t N>
365366
constexpr detail::span_index_t span<T, N>::extent;
367+
#endif
366368

367369
#if RANGES_CXX_DEDUCTION_GUIDES >= RANGES_CXX_DEDUCTION_GUIDES_17
368370
template(typename Rng)(

0 commit comments

Comments
 (0)