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
back_insert_iterator
bidirectional
common_iterator
contiguous
counted_iterator
customization_points
forward
front_insert_iterator
headers/iterator
indirect_callable
input
insert_iterator
istream_iterator
istreambuf_iterator
move_iterator
normal_iterator
operations
ostream_iterator
ostreambuf_iterator
output
random_access
range_access
range_operations
reverse_iterator
aliases.cc
container_access.cc