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
25_algorithms
26_numerics
27_io
28_regex
29_atomics
30_threads
abi
backward
config
data
decimal
experimental
ext
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance
special_functions
std
tr1
tr2
util
Makefile.am
Makefile.in