[libcxx-commits] [libcxx] 8e4887f - [libc++][NFC] Remove redundant preprocessor directive
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 6 07:56:55 PST 2024
Author: Nikolas Klauser
Date: 2024-03-06T16:56:44+01:00
New Revision: 8e4887ff6de135680512f21fb41e949f73cbf262
URL: https://github.com/llvm/llvm-project/commit/8e4887ff6de135680512f21fb41e949f73cbf262
DIFF: https://github.com/llvm/llvm-project/commit/8e4887ff6de135680512f21fb41e949f73cbf262.diff
LOG: [libc++][NFC] Remove redundant preprocessor directive
Added:
Modified:
libcxx/include/span
Removed:
################################################################################
diff --git a/libcxx/include/span b/libcxx/include/span
index 9efaac517fc8f6..cfeef35d2d80e9 100644
--- a/libcxx/include/span
+++ b/libcxx/include/span
@@ -564,10 +564,8 @@ _LIBCPP_HIDE_FROM_ABI auto as_writable_bytes(span<_Tp, _Extent> __s) noexcept {
return __s.__as_writable_bytes();
}
-# if _LIBCPP_STD_VER >= 20
template <contiguous_iterator _It, class _EndOrSize>
span(_It, _EndOrSize) -> span<remove_reference_t<iter_reference_t<_It>>>;
-# endif // _LIBCPP_STD_VER >= 20
template <class _Tp, size_t _Sz>
span(_Tp (&)[_Sz]) -> span<_Tp, _Sz>;
More information about the libcxx-commits
mailing list