gcc/libstdc++-v3/include
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
..
backward
bits libstdc++: Fix -Wmismatched-tags warnings (PR 96063) 2020-07-06 17:12:29 +01:00
c
c_compatibility
c_global
c_std
debug libstdc++: Extend memcmp optimization in std::lexicographical_compare 2020-06-10 17:48:56 +01:00
decimal
experimental libstdc++: Refactor filesystem::path string conversions 2020-05-23 09:40:16 +01:00
ext
parallel libstdc++: Fix some C++20 algorithms to work in parallel mode 2020-05-07 21:43:49 +01:00
precompiled
pstl
std libstdc++: Constrain std::make_optional 2020-07-06 21:54:59 +01:00
tr1
tr2
Makefile.am
Makefile.in libstdc++: Regenerate makefiles 2020-06-23 07:59:40 +01:00