From 8a0619680e19c935fe6a0ce67ecf89332059771a Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 29 Mar 2022 21:00:55 +0200 Subject: [PATCH] Vendor import of llvm-project branch release/14.x llvmorg-14.0.0-2-g3f43d803382d. --- libcxx/include/span | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libcxx/include/span b/libcxx/include/span index b8dbc7e01fd..f3356903173 100644 --- a/libcxx/include/span +++ b/libcxx/include/span @@ -622,7 +622,13 @@ template template span(const array<_Tp, _Sz>&) -> span; -#if !defined(_LIBCPP_HAS_NO_CONCEPTS) && !defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES) +#if defined(_LIBCPP_HAS_NO_CONCEPTS) || defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES) +template + span(_Container&) -> span; + +template + span(const _Container&) -> span; +#else template span(_Range&&) -> span>>; #endif