gcc/libstdc++-v3/testsuite/23_containers
Jonathan Wakely 9b8e2dea78 libstdc++: P1976R2 Fixed-size span construction from dynamic range
This includes fixes for first, last, as_bytes and as_writable_bytes
which were missing from the paper.

	* include/std/span (__cpp_lib_span): Update value.
	(span(It, size_type), span(It, End)): Make conditionally explicit. Add
	assertion.
	(span(R&&), span(const span<OType, OExtent>&)): Likewise and relax
	constraints.
	(span::first<Count>(), span::last<Count>()): Use explicit type in
	return statement.
	(as_bytes, as_writable_bytes): Likewise.
	* include/std/version (__cpp_lib_span): Update value.
	* testsuite/23_containers/span/1.cc: Check new value.
	* testsuite/23_containers/span/2.cc: Check new value.
	* testsuite/23_containers/span/explicit.cc: New test.
2020-02-18 17:43:36 +00:00
..
array Update copyright years. 2020-01-01 12:51:42 +01:00
bitset Update copyright years. 2020-01-01 12:51:42 +01:00
deque libstdc++: Update __cpp_lib_erase_if macro (P1115R3) 2020-02-15 10:25:23 +00:00
forward_list libstdc++: Update __cpp_lib_erase_if macro (P1115R3) 2020-02-15 10:25:23 +00:00
headers Update copyright years. 2020-01-01 12:51:42 +01:00
list libstdc++: Update __cpp_lib_erase_if macro (P1115R3) 2020-02-15 10:25:23 +00:00
map libstdc++: Update __cpp_lib_erase_if macro (P1115R3) 2020-02-15 10:25:23 +00:00
multimap Update copyright years. 2020-01-01 12:51:42 +01:00
multiset Update copyright years. 2020-01-01 12:51:42 +01:00
priority_queue Update copyright years. 2020-01-01 12:51:42 +01:00
queue Update copyright years. 2020-01-01 12:51:42 +01:00
set libstdc++: Update __cpp_lib_erase_if macro (P1115R3) 2020-02-15 10:25:23 +00:00
span libstdc++: P1976R2 Fixed-size span construction from dynamic range 2020-02-18 17:43:36 +00:00
stack Update copyright years. 2020-01-01 12:51:42 +01:00
unordered_map libstdc++: Update __cpp_lib_erase_if macro (P1115R3) 2020-02-15 10:25:23 +00:00
unordered_multimap Update copyright years. 2020-01-01 12:51:42 +01:00
unordered_multiset libstdc++: Improve unordered containers == operator (PR 91263) 2020-01-16 14:39:05 +00:00
unordered_set libstdc++: Update __cpp_lib_erase_if macro (P1115R3) 2020-02-15 10:25:23 +00:00
vector libstdc++: Update __cpp_lib_erase_if macro (P1115R3) 2020-02-15 10:25:23 +00:00