[PATCH 2/3] libstdc++: elements_view's sentinel and iterator not comparable [LWG 3406]
Jonathan Wakely
jwakely@redhat.com
Wed Aug 26 20:57:13 GMT 2020
On 26/08/20 16:44 -0400, Patrick Palka via Libstdc++ wrote:
>This implements the proposed resolution for LWG 3406 and adds a testcase
>for the example from P1994R1.
>
>libstdc++-v3/ChangeLog:
>
> LWG 3406
> * include/std/ranges (elements_view::begin): Adjust constraints.
> (elements_view::end): Likewise.
> (elements_view::_Sentinel::operator==): Templatize to take both
> _Iterator<true> and _Iterator<false>.
> (elements_view::_Sentinel::operator-): Likewise.
> * testsuite/std/ranges/adaptors/elements.cc: Add testcase for
> the example from P1994R1.
> * testsuite/std/range/adaptors/lwg3406.cc: New test.
OK, thanks.
More information about the Gcc-patches
mailing list