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 Do not declare std::uses_allocator before C++11 2019-10-22 22:48:53 +01:00
18_support libsupc++: Implement comparison algorithms for C++20 2019-11-13 16:26:18 +00:00
19_diagnostics
20_util libstdc++: Implement spaceship for std::pair (P1614R2) 2019-12-03 23:57:46 +00:00
21_strings libstdc++: add range constructor for std::string_view (P1391R4) 2019-11-17 01:32:55 +00:00
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 Implement LWG 3296 for basic_regex::assign 2019-09-25 13:31:53 +01:00
29_atomics Fix inaccurate comment in new test 2019-07-12 16:45:16 +01:00
30_threads libstdc++: Fix timed_mutex::try_lock_until on arbitrary clock (PR 91906) 2019-12-02 16:23:06 +00:00
abi
backward Adjust extension types to use allocator_traits 2019-10-23 17:14:28 +01:00
config
data
decimal
experimental libstdc++: P1423R3 char8_t remediation (4/4) 2019-11-29 17:43:51 +00:00
ext Revert ABI changes to std::allocator in C++20 2019-10-24 16:29:41 +01:00
lib PR libstdc++/90252 fix effective-target check for TBB 2019-05-21 14:50:41 +01:00
libstdc++-abi
libstdc++-dg Implement <concepts> header for C++20 2019-10-11 16:53:52 +01:00
libstdc++-prettyprinters libstdc++: Define pretty printer for comparison categories 2019-12-05 00:42:11 +00:00
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 libstdc++ testsuite, silence a FreeBSD libm warning 2019-09-30 22:23:02 +02:00
std libstdc++: Implement ranges::safe_range for C++20 (P1870R1) 2019-12-09 17:35:24 +00:00
tr1 Adjust extension types to use allocator_traits 2019-10-23 17:14:28 +01:00
tr2 PR libstdc++/92059 fix several bugs in tr2::dynamic_bitset 2019-10-11 16:29:55 +01:00
util libstdc++: Implement ranges::safe_range for C++20 (P1870R1) 2019-12-09 17:35:24 +00:00
Makefile.am
Makefile.in