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.

Reply via email to