gcc/libstdc++-v3/testsuite/23_containers
Jonathan Wakely 582c57a17e Implement LWG 3255 for std::span constructors
Also fix the constraints on span(Container&) and span(const Container&)
constructors so that they aren't used for const spans or const arrays.

	* include/std/span (span(element_type(&)[N]))
	(span(array<value_type, N>&), span(const array<value_type, N>&)):
	Deduce array element type to allow safe const conversions (LWG 3255).
	[!_GLIBCXX_P1394] (span(Container&), span(const Container&)): Use
	remove_cv_t on arguments to __is_std_span and __is_std_array.
	* testsuite/23_containers/span/lwg3255.cc: New test.

From-SVN: r276298
2019-09-30 12:52:08 +01:00
..
array P0325R4 to_array from LFTS with updates 2019-08-08 11:18:53 +01:00
bitset
deque Fix tests that fail without PCH 2019-06-17 09:18:17 +01:00
forward_list Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
headers
list Fix more failing tests for C++98 mode 2019-06-06 16:34:51 +01:00
map Avoid unnecessary inclusion of <stdexcept> header 2019-06-06 16:34:56 +01:00
multimap Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
multiset Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
priority_queue
queue
set Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
span Implement LWG 3255 for std::span constructors 2019-09-30 12:52:08 +01:00
stack
unordered_map Avoid unnecessary inclusion of <stdexcept> header 2019-06-06 16:34:56 +01:00
unordered_multimap Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
unordered_multiset Fix tests that fail in C++2a mode 2019-06-06 14:36:27 +01:00
unordered_set Fix more tests that fail in C++2a mode 2019-06-06 16:34:45 +01:00
vector Fix errors in new test 2019-08-30 17:25:20 +01:00