[libcxx-commits] [libcxx] [libc++] Fix `take_view::__sentinel`'s `operator==` (PR #74655)

Jakub Mazurkiewicz via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 7 06:12:53 PST 2023


================
@@ -8,10 +8,7 @@
 
 // UNSUPPORTED: c++03, c++11, c++14, c++17
 
-// sentinel() = default;
-// constexpr explicit sentinel(sentinel_t<Base> end);
-// constexpr sentinel(sentinel<!Const> s)
-//   requires Const && convertible_to<sentinel_t<V>, sentinel_t<Base>>;
+// constexpr sentinel_t<Base> base() const;
----------------
JMazurkiewicz wrote:

And `range.take.sentinel` is correct name of the spec section: http://eel.is/c++draft/range.take.sentinel.

https://github.com/llvm/llvm-project/pull/74655


More information about the libcxx-commits mailing list