8sa1-gcc/libstdc++-v3/testsuite/24_iterators
Jonathan Wakely 733167f9d5 libstdc++: Define converting assignment operator for std::move_iterator
As clarified by LWG 3265, std::move_iterator is supposed to have an
assignment operator that converts from a different specialization of
std::move_iterator, which performs an assignment. That has always been
missing from libstdc++, so assigning a different type actually performs
a converting construction, then an assignment. This is non-conforming
for the (fairly contrived) case where the converting assignment is
well-formed but the converting construction is not.

	* include/bits/stl_iterator.h (move_iterator::operator=): Define.
	* testsuite/24_iterators/move_iterator/dr3265.cc: New test.
2020-06-09 22:16:24 +01:00
..
associated_types
back_insert_iterator
bidirectional
common_iterator libstdc++: Fix common_iterator::operator-> [PR95322] 2020-05-26 16:17:34 -04:00
contiguous
counted_iterator
customization_points libstdc++: Avoid constraint recursion with iterator_traits (PR 93983) 2020-05-21 07:32:15 +01:00
forward
front_insert_iterator
headers/iterator
indirect_callable libstdc++: Replace deduced return type in ranges::iter_move (PR 92894) 2020-05-01 14:27:25 +01:00
input
insert_iterator libstdc++: Fixes for feature test macros (PR 91480) 2020-04-28 23:40:18 +01:00
istream_iterator
istreambuf_iterator
move_iterator libstdc++: Define converting assignment operator for std::move_iterator 2020-06-09 22:16:24 +01:00
normal_iterator
operations
ostream_iterator
ostreambuf_iterator
output
random_access
range_access
range_operations
reverse_iterator libstdc++: Fix std::reverse_iterator comparisons (PR 94354) 2020-05-27 21:58:56 +01:00
aliases.cc
container_access.cc