gcc/libstdc++-v3/testsuite/24_iterators
Jonathan Wakely 186aa63045 libstdc++: Fix std::indirectly_readable ambiguity [LWG 3446]
This implements the proposed resolution of LWG 3446. I'm also adding
another new constrained specialization which isn't proposed by 3446, to
resolve the ambiguity when a type has both value_type and element_type
but denoting different types.

libstdc++-v3/ChangeLog:

	* include/bits/iterator_concepts.h (indirectly_readable): Add
	partial specializations to resolve ambiguities (LWG 3446).
	* testsuite/24_iterators/associated_types/readable.traits.cc:
	Check types with both value_type and element_type.
2020-08-24 16:18:31 +01:00
..
associated_types libstdc++: Fix std::indirectly_readable ambiguity [LWG 3446] 2020-08-24 16:18:31 +01:00
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 libstdc++: Ensure c++NN effective-target present in more tests 2020-07-31 19:58:03 +01:00
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++: Implement LWG 561 for std::inserter 2020-08-10 12:09:59 +01:00
istream_iterator
istreambuf_iterator
move_iterator libstdc++: Constrain reverse_iterator and move_iterator conversions [LWG 3435] 2020-07-22 15:10:29 +01:00
normal_iterator
operations
ostream_iterator
ostreambuf_iterator
output
random_access
range_access
range_operations
reverse_iterator libstdc++: Constrain reverse_iterator and move_iterator conversions [LWG 3435] 2020-07-22 15:10:29 +01:00
aliases.cc
container_access.cc