gcc/libstdc++-v3/testsuite
Jonathan Wakely bcfe4681f9 libstdc++: Constrain std::make_optional
The standard rquires that std::make_optional is constrained similarly to
the std::optional constructors, which our implementation fails to do.

As a conforming extension this also adds a noexcept-specifier to each
std::make_optional overload.

libstdc++-v3/ChangeLog:

	* include/std/optional (make_optional): Add enable_if
	constraints and noexcept-specifier to each overload.
	* testsuite/20_util/optional/make_optional-2.cc: New test.
2020-07-06 21:54:59 +01:00
..
17_intro libstdc++: Add more tests for _E10, _E11 etc. (PR 94901) 2020-05-01 14:49:48 +01:00
18_support libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
19_diagnostics libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
20_util libstdc++: Constrain std::make_optional 2020-07-06 21:54:59 +01:00
21_strings Adjust text of expected warnings changed in PR c++/86568. 2020-07-01 08:33:29 -06:00
22_locale Update copyright years. 2020-01-01 12:51:42 +01:00
23_containers libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
24_iterators c++: Refinements to "more constrained". 2020-06-20 10:57:21 -04:00
25_algorithms libstdc++: Fix some ranges algos optimizations [PR95578] 2020-06-10 17:37:53 -04:00
26_numerics libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
27_io libstdc++: Require c++98_only effective target for a test 2020-07-02 21:27:22 +01:00
28_regex libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
29_atomics libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
30_threads libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
abi Update copyright years. 2020-01-01 12:51:42 +01:00
backward Update copyright years. 2020-01-01 12:51:42 +01:00
config Update copyright years. 2020-01-01 12:51:42 +01:00
data
decimal Update copyright years. 2020-01-01 12:51:42 +01:00
experimental PR libstdc++/95915 2020-06-29 00:36:38 +03:00
ext libstdc++: Avoid errors in allocator's noexcept-specifier (PR 89510) 2020-04-30 16:01:43 +01:00
lib libstdc++: Fix PSTL tests to run correctly with newer Thread Building Blocks 2020-04-21 01:05:13 -07:00
libstdc++-abi Update copyright years. 2020-01-01 12:51:42 +01:00
libstdc++-dg Update copyright years. 2020-01-01 12:51:42 +01:00
libstdc++-prettyprinters Update copyright years. 2020-01-01 12:51:42 +01:00
libstdc++-xmethods Update copyright years. 2020-01-01 12:51:42 +01:00
performance Update copyright years. 2020-01-01 12:51:42 +01:00
special_functions Update copyright years. 2020-01-01 12:51:42 +01:00
std libstdc++: Fix view adaptors for mixed-const sentinels and iterators (PR 95322) 2020-05-27 22:08:15 +01:00
tr1 libstdc++: Fix test failure due to -Wnonnull warnings 2020-03-12 11:03:04 +00:00
tr2 Update copyright years. 2020-01-01 12:51:42 +01:00
util PR libstdc++/95915 2020-06-29 00:36:38 +03:00
Makefile.am libstdc++: Enable simple invocation of runtest in testsuite 2020-05-21 14:16:19 +01:00
Makefile.in libstdc++: Regenerate makefiles 2020-06-23 07:59:40 +01:00