gcc/libstdc++-v3/testsuite/20_util/optional
Jonathan Wakely 0fac85a24f libstdc++: Remove constraints from std::optional monadic ops [PR102863]
The constraints on transform and and_then can cause errors when checking
satisfaction. The constraints that were present in R6 of the paper were
moved for he final F8 revision, and so should have been included in the
implementation.

libstdc++-v3/ChangeLog:

	PR libstdc++/102863
	* include/std/optional (optional::and_then, optional::transform):
	Remove requires-clause.
	* testsuite/20_util/optional/monadic/and_then.cc: Check
	overload resolution doesn't cause errors.
	* testsuite/20_util/optional/monadic/transform.cc: Likewise.
2021-10-21 01:23:22 +01:00
..
assignment libstdc++: Fix constraint on std::optional assignment [PR 100982] 2021-06-09 12:45:11 +01:00
cons libstdc++: Remove redundant -std=gnu++17 option from any/optional/variant tests 2021-05-10 16:22:53 +01:00
constexpr libstdc++: Add missing constexpr to std::optional (P2231R1) 2021-10-14 09:08:01 +01:00
monadic libstdc++: Remove constraints from std::optional monadic ops [PR102863] 2021-10-21 01:23:22 +01:00
observers libstdc++: Implement LWG 2762 for std::unique_ptr::operator* 2021-06-24 14:04:02 +01:00
relops libstdc++: Constrain three-way comparison for std::optional [PR 98842] 2021-06-07 15:45:14 +01:00
swap libstdc++: Remove redundant -std=gnu++17 option from any/optional/variant tests 2021-05-10 16:22:53 +01:00
77288.cc libstdc++: Remove redundant -std=gnu++17 option from any/optional/variant tests 2021-05-10 16:22:53 +01:00
84601.cc libstdc++: Reduce header dependencies on <array> and <utility> 2021-07-27 12:04:18 +01:00
bad_access.cc libstdc++: Remove redundant -std=gnu++17 option from any/optional/variant tests 2021-05-10 16:22:53 +01:00
hash.cc libstdc++: Remove redundant -std=gnu++17 option from any/optional/variant tests 2021-05-10 16:22:53 +01:00
in_place.cc libstdc++: Remove redundant -std=gnu++17 option from any/optional/variant tests 2021-05-10 16:22:53 +01:00
make_optional-2.cc Update copyright years. 2021-01-04 10:26:59 +01:00
make_optional.cc libstdc++: Remove redundant -std=gnu++17 option from any/optional/variant tests 2021-05-10 16:22:53 +01:00
nullopt.cc libstdc++: Remove redundant -std=gnu++17 option from any/optional/variant tests 2021-05-10 16:22:53 +01:00
requirements.cc libstdc++: Add missing constexpr to std::optional (P2231R1) 2021-10-14 09:08:01 +01:00
typedefs.cc libstdc++: Remove redundant -std=gnu++17 option from any/optional/variant tests 2021-05-10 16:22:53 +01:00
version.cc libstdc++: Add missing constexpr to std::variant (P2231R1) 2021-10-15 18:26:53 +01:00