[PATCH] libstdc++: Fix LWG issues 3389 and 3390

Jonathan Wakely jwakely@redhat.com
Wed Feb 12 07:57:00 GMT 2020


On 11/02/20 11:05 -0500, Patrick Palka wrote:
>On Tue, 11 Feb 2020, Patrick Palka wrote:
>
>> libstdc++-v3/ChangeLog:
>>
>> 	DR 3389 and DR 3390
>> 	* include/bits/stl_iterator.h (move_move_iterator): Use std::move when
>> 	constructing the move_iterator with __i.
>> 	(counted_iterator::counted_iterator): Use std::move when initializing
>> 	M_current with __i.
>> 	* testsuite/24_iterators/counted_iterator/dr3389.cc: New test.
>> 	* testsuite/24_iterators/move_iterator/dr3390.cc: New test.
>
>Here's a version of the patch that uses the consistently uses the
>terminology LWG XXXX instead of sometimes using DR XXXX.

OK for master, thanks.



More information about the Libstdc++ mailing list