gcc/libstdc++-v3/testsuite/24_iterators
Patrick Palka 048eb89a1e libstdc++: Implement LWG 3391 changes to move/counted_iterator::base()
libstdc++-v3/ChangeLog:

	* include/bits/stl_iterator.h (move_iterator::base): Make the
	const& overload unconstrained and return a const reference as
	per LWG 3391.  Make unconditionally noexcept.
	(counted_iterator::base): Likewise.
	* testsuite/24_iterators/move_iterator/lwg3391.cc: New test.
	* testsuite/24_iterators/move_iterator/move_only.cc: Adjust
	has_member_base concept to decay-copy the result of base().

(cherry picked from commit 08f3287eef)
2021-06-10 14:58:53 -04:00
..
associated_types Update copyright years. 2021-01-04 10:26:59 +01:00
back_insert_iterator Update copyright years. 2021-01-04 10:26:59 +01:00
bidirectional Update copyright years. 2021-01-04 10:26:59 +01:00
common_iterator Update copyright years. 2021-01-04 10:26:59 +01:00
contiguous Update copyright years. 2021-01-04 10:26:59 +01:00
counted_iterator Update copyright years. 2021-01-04 10:26:59 +01:00
customization_points Update copyright years. 2021-01-04 10:26:59 +01:00
forward Update copyright years. 2021-01-04 10:26:59 +01:00
front_insert_iterator Update copyright years. 2021-01-04 10:26:59 +01:00
headers/iterator libstdc++: Change [range.iter.op] functions to function objects [PR 100768] 2021-06-02 14:43:19 +01:00
indirect_callable Update copyright years. 2021-01-04 10:26:59 +01:00
input Update copyright years. 2021-01-04 10:26:59 +01:00
insert_iterator Update copyright years. 2021-01-04 10:26:59 +01:00
istream_iterator Update copyright years. 2021-01-04 10:26:59 +01:00
istreambuf_iterator Update copyright years. 2021-01-04 10:26:59 +01:00
move_iterator libstdc++: Implement LWG 3391 changes to move/counted_iterator::base() 2021-06-10 14:58:53 -04:00
normal_iterator Update copyright years. 2021-01-04 10:26:59 +01:00
operations Update copyright years. 2021-01-04 10:26:59 +01:00
ostream_iterator Update copyright years. 2021-01-04 10:26:59 +01:00
ostreambuf_iterator Update copyright years. 2021-01-04 10:26:59 +01:00
output Update copyright years. 2021-01-04 10:26:59 +01:00
random_access Update copyright years. 2021-01-04 10:26:59 +01:00
range_access libstdc++: Remove redundant -std=gnu++17 option from remaining tests 2021-05-11 20:50:08 +01:00
range_operations libstdc++: Fix return value of std::ranges::advance [PR 100833] 2021-06-02 14:43:20 +01:00
reverse_iterator libstdc++: Implement missing P0896R4 changes to reverse_iterator [PR100639] 2021-06-10 14:37:29 -04:00
aliases.cc Update copyright years. 2021-01-04 10:26:59 +01:00
container_access.cc libstdc++: Remove redundant -std=gnu++17 option from remaining tests 2021-05-11 20:50:08 +01:00