[libcxx-commits] [libcxx] [libc++] [string_view] Remove operators made redundant by C++20 (PR #66206)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Sep 15 07:47:25 PDT 2023
================
@@ -776,7 +776,35 @@ template <ranges::contiguous_range _Range>
#endif
// [string.view.comparison]
+
+#if _LIBCPP_STD_VER >= 20
+
----------------
ldionne wrote:
Let's regroup all the C++ >= 20 definitions into the same block. There's a bunch of those below. There's also conditions that can be simplified now, e.g. some `#if _LIBCPP_STD_VER < 20` that would be made tautological since they'd be in the `#else`.
https://github.com/llvm/llvm-project/pull/66206
More information about the libcxx-commits
mailing list