gcc/libstdc++-v3/testsuite/25_algorithms/move
Patrick Palka 14d8a5ae47 libstdc++: Add missing std::move to ranges::copy/move/reverse_copy [PR101599]
In passing, this also renames the template parameter _O2 to _Out2 in
ranges::partition_copy and uglifies two of its function parameters,
out_true and out_false.

	PR libstdc++/101599

libstdc++-v3/ChangeLog:

	* include/bits/ranges_algo.h (__reverse_copy_fn::operator()):
	Add missing std::move in return statement.
	(__partition_copy_fn::operator()): Rename templtae parameter
	_O2 to _Out2.  Uglify function parameters out_true and out_false.
	* include/bits/ranges_algobase.h (__copy_or_move): Add missing
	std::move to recursive call that unwraps a __normal_iterator
	output iterator.
	* testsuite/25_algorithms/copy/constrained.cc (test06): New test.
	* testsuite/25_algorithms/move/constrained.cc (test05): New test.
2021-08-02 15:30:15 -04:00
..
deque_iterators Update copyright years. 2021-01-04 10:26:59 +01:00
requirements/explicit_instantiation Update copyright years. 2021-01-04 10:26:59 +01:00
1.cc Update copyright years. 2021-01-04 10:26:59 +01:00
69478.cc Update copyright years. 2021-01-04 10:26:59 +01:00
93872.cc Update copyright years. 2021-01-04 10:26:59 +01:00
94013.cc Update copyright years. 2021-01-04 10:26:59 +01:00
95578.cc Update copyright years. 2021-01-04 10:26:59 +01:00
constrained.cc libstdc++: Add missing std::move to ranges::copy/move/reverse_copy [PR101599] 2021-08-02 15:30:15 -04:00