[PATCH 1/3] libstdc++: Implement P1994R1 changes to ranges::elements_view
Jonathan Wakely
jwakely@redhat.com
Wed Aug 26 20:56:53 GMT 2020
On 26/08/20 16:44 -0400, Patrick Palka via Libstdc++ wrote:
>The example from the paper doesn't compile without the proposed
>resolution for LWG 3406, so we'll add a testcase for this once the
>proposed resolution is in.
>
>libstdc++-v3/ChangeLog:
>
> P1994R1: elements_view needs its own sentinel.
> * include/std/ranges (elements_view::end): Replace these two
> overloads with four new overloads.
> (elements_view::_Iterator::operator==): Remove.
> (elements_view::_Iterator::operator-): Likewise.
> (elements_view::_Sentinel): Define.
OK, thanks.
More information about the Libstdc++
mailing list