gcc/libstdc++-v3/include/std
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
..
algorithm
any
array libstdc++: Implement spaceship for std::array (P1614R2) 2019-12-05 00:42:06 +00:00
atomic
bit libstdc++: Fix some -Wsystem-headers warnings 2019-11-18 12:46:02 +00:00
bitset Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
charconv LWG 3266. to_chars(bool) should be deleted 2019-09-10 10:08:20 +01:00
chrono
codecvt
complex libstdc++: Define __cpp_lib_constexpr_complex macro 2019-12-10 16:15:59 +00:00
concepts libstdc++: Implement LWG 3149 for std::default_constructible 2019-11-15 19:58:27 +00:00
condition_variable Support for jthread and stop_token 2019-11-15 03:09:19 +00:00
deque Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
execution
filesystem
forward_list Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
fstream
functional Implement the default_searcher part of C++20 p1032 Misc constexpr bits. 2019-11-15 21:26:25 +00:00
future
iomanip
ios
iosfwd
iostream
istream
iterator
limits
list Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
locale
map Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
memory Remove redundant std::allocator members for C++20 2019-10-22 22:48:39 +01:00
memory_resource
mutex libstdc++: Fix timed_mutex::try_lock_until on arbitrary clock (PR 91906) 2019-12-02 16:23:06 +00:00
numbers Specialize std::numbers constants for __float128 2019-08-06 16:57:51 +01:00
numeric libstdc++: Rework std::copy/copy_backward/move/move_backward/fill/fill_n algos 2019-12-10 21:49:55 +00:00
optional
ostream libstdc++: Adjust some function templates for coding conventions 2019-11-29 17:43:55 +00:00
queue
random
ranges libstdc++: Implement ranges::safe_range for C++20 (P1870R1) 2019-12-09 17:35:24 +00:00
ratio
regex
scoped_allocator
set Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
shared_mutex libstdc++: Fix try_lock_until and try_lock_shared_until on arbitrary clock 2019-12-02 16:23:14 +00:00
span libstdc++: Correct noexcept-specifiers on span constructors 2019-12-10 23:50:26 +00:00
sstream
stack
stdexcept
stop_token libstdc++: Fix <stop_token> and improve tests 2019-11-15 23:44:47 +00:00
streambuf
string
string_view libstdc++: Implement ranges::safe_range for C++20 (P1870R1) 2019-12-09 17:35:24 +00:00
system_error
thread libstdc++: Fix std::jthread bugs 2019-11-18 12:46:08 +00:00
tuple Implement the <tuple> part of C++20 p1032 Misc constexpr bits. 2019-11-16 03:16:35 +00:00
type_traits libstdc++: Implement P1872R0 and P1394R0 for std::span 2019-12-05 13:50:01 +00:00
typeindex
unordered_map Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
unordered_set Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
utility Implement C++20 p1424 - 'constexpr' feature macro concerns... 2019-09-10 03:38:58 +00:00
valarray
variant Remove check for impossible condition in std::variant::index() 2019-09-24 15:17:08 +01:00
vector Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
version libstdc++: Define __cpp_lib_constexpr_complex macro 2019-12-10 16:15:59 +00:00