gcc/libstdc++-v3/testsuite/20_util/optional
Jonathan Wakely 7f65d8267f
libstdc++: Reverse arguments in constraint for std::optional's <=> [PR104606]
This is a workaround for a possible compiler bug that causes constraint
recursion in the operator<=>(const optional<T>&, const U&) overload.

libstdc++-v3/ChangeLog:

	PR libstdc++/104606
	* include/std/optional (operator<=>(const optional<T>&, const U&)):
	Reverse order of three_way_comparable_with template arguments.
	* testsuite/20_util/optional/relops/104606.cc: New test.
2024-04-03 11:45:35 +01:00
..
assignment Update copyright years. 2024-01-03 12:19:35 +01:00
cons Update copyright years. 2024-01-03 12:19:35 +01:00
constexpr Update copyright years. 2024-01-03 12:19:35 +01:00
monadic libstdc++: Test for feature test macros more accurately 2023-11-16 08:06:59 +00:00
observers Update copyright years. 2024-01-03 12:19:35 +01:00
relops libstdc++: Reverse arguments in constraint for std::optional's <=> [PR104606] 2024-04-03 11:45:35 +01:00
swap Update copyright years. 2024-01-03 12:19:35 +01:00
77288.cc Update copyright years. 2024-01-03 12:19:35 +01:00
84601.cc
bad_access.cc Update copyright years. 2024-01-03 12:19:35 +01:00
hash.cc Update copyright years. 2024-01-03 12:19:35 +01:00
in_place.cc Update copyright years. 2024-01-03 12:19:35 +01:00
make_optional-2.cc Update copyright years. 2024-01-03 12:19:35 +01:00
make_optional.cc Update copyright years. 2024-01-03 12:19:35 +01:00
nullopt.cc Update copyright years. 2024-01-03 12:19:35 +01:00
requirements.cc Update copyright years. 2024-01-03 12:19:35 +01:00
requirements_neg.cc libstdc++: Enforce requirements on template argument of std::optional 2023-03-30 00:06:25 +01:00
typedefs.cc Update copyright years. 2024-01-03 12:19:35 +01:00
version.cc libstdc++: Add freestanding feature test macros (P2407R5) 2023-11-21 15:58:21 +00:00