libstdc++: LWG 3313 join_view::iterator::operator-- is incorrectly constrained
authorPatrick Palka <ppalka@redhat.com>
Mon, 24 Feb 2020 21:09:48 +0000 (16:09 -0500)
committerPatrick Palka <ppalka@redhat.com>
Tue, 25 Feb 2020 18:04:32 +0000 (13:04 -0500)
commit55c4b3f486200bcfd6c5c333754e6abb7acd470c
treeda068e1e69e8656eb96dba11cc52c3f98297358c
parent510bd1c178f3719df7148dd584d30acc2595dc3c
libstdc++: LWG 3313 join_view::iterator::operator-- is incorrectly constrained

libstdc++-v3/ChangeLog:

LWG 3313 join_view::_Iterator::operator-- is incorrectly constrained
* include/std/ranges (join_view::_Iterator::operator--): Require that
range_reference_t<_Base> models common_range.
* testsuite/std/ranges/adaptors/lwg3313_neg.cc: New test.
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/ranges
libstdc++-v3/testsuite/std/ranges/adaptors/lwg3313_neg.cc [new file with mode: 0644]