diff --git a/include/span b/include/span index b1a13dd02..db8f836f9 100644 --- a/include/span +++ b/include/span @@ -140,6 +140,7 @@ template */ +#include <__config> #include // for ptrdiff_t #include // for iterators #include // for array @@ -600,7 +601,8 @@ template template span(const _Container&) -> span; +#endif // _LIBCPP_STD_VER > 17 + _LIBCPP_END_NAMESPACE_STD -#endif // _LIBCPP_STD_VER > 17 #endif // _LIBCPP_SPAN