gcc/libstdc++-v3/testsuite
Jonathan Wakely cff87282f4 libstdc++: Correct noexcept-specifiers on span constructors
As discussed at https://github.com/cplusplus/draft/issues/3534 two
std::span constructors specify incorrect conditions for throwing
exceptions. This patch makes those constructors have correct
noexcept-specifiers that accurately reflect what can actually throw.

	(span(ContiguousIterator, Sentinel)): Add conditional noexcept.
	* include/std/span (span(ContiguousIterator, size_type)): Change
	noexcept to be unconditionally true.
	* testsuite/23_containers/span/nothrow_cons.cc: New test.

From-SVN: r279206
2019-12-10 23:50:26 +00:00
..
17_intro
18_support
19_diagnostics
20_util
21_strings
22_locale
23_containers libstdc++: Correct noexcept-specifiers on span constructors 2019-12-10 23:50:26 +00:00
24_iterators libstdc++: Fix bug in std::indirect_result_t 2019-12-10 16:15:49 +00:00
25_algorithms libstdc++: Rework std::copy/copy_backward/move/move_backward/fill/fill_n algos 2019-12-10 21:49:55 +00:00
26_numerics libstdc++: Define __cpp_lib_constexpr_complex macro 2019-12-10 16:15:59 +00:00
27_io libstdc++: Improve testing for path::operator+=(const string&) 2019-12-09 09:59:00 +00:00
28_regex
29_atomics
30_threads
abi
backward
config
data
decimal
experimental
ext
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance libstdc++: Rework std::copy/copy_backward/move/move_backward/fill/fill_n algos 2019-12-10 21:49:55 +00:00
special_functions
std libstdc++: Implement ranges::safe_range for C++20 (P1870R1) 2019-12-09 17:35:24 +00:00
tr1
tr2
util libstdc++: Implement ranges::safe_range for C++20 (P1870R1) 2019-12-09 17:35:24 +00:00
Makefile.am
Makefile.in