This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]