[PATCH] libstdc++: P1983R0 Wording for GB301, US296, US292, US291, and US283

Jonathan Wakely jwakely@redhat.com
Tue Feb 18 23:42:00 GMT 2020


On 18/02/20 14:31 -0500, Patrick Palka wrote:
>On Tue, 18 Feb 2020, Patrick Palka wrote:
>
>> Among other changes, P1983R0 resolves LWG 3278 in a different way, so this patch
>> also reverts the already-applied change of LWG 3278.
>>
>> The wording for US283 has already been applied it seems.
>>
>> libstdc++-v3/ChangeLog:
>>
>> 	P1983R0 Wording for GB301, US296, US292, US291, and US283
>> 	* include/std/ranges (filter_view::pred): New member function.
>> 	(join_view::_Iterator::_Iterator): Remove now-redundant comment since
>> 	P1983R0 fixes the highlighted issue in the same way.
>> 	(join_view::_M_inner): Remove mutable specifier, effectively reverting
>> 	the proposed wording changes of P3278.
>> 	(join_view::begin): Refine the condition for when to return a const
>> 	iterator.
>> 	(split_view::_OuterIter::_OuterIter): Adjust constraints.
>> 	* testsuite/std/ranges/adaptors/filter.cc: Test that filter_view::pred
>> 	exists and works.
>
>Oops, this patch is incomplete, it breaks the join_view adaptor test due
>to a missing friend, sorry about that.  Here's the complete and tested
>patch:

OK for master, thanks.



More information about the Libstdc++ mailing list