gcc/libstdc++-v3/testsuite/18_support/comparisons
Jonathan Wakely e1e9e8d7aa libstdc++: Fix constraints on std::compare_three_way
My "simplification" of std::compare_three_way's constraints in commit
f214ffb336 was incorrect, because
std::three_way_comparable_with imposes additional restrictions beyond
the <=> expression being valid.

	* libsupc++/compare (compare_three_way): Fix constraint so that
	BUILTIN-PTR-THREE-WAY does not require three_way_comparable_with.
	* testsuite/18_support/comparisons/object/builtin-ptr-three-way.cc:
	New test.
2020-04-14 21:59:15 +01:00
..
algorithms
categories libstdc++: Make comparison category comparisons noexcept (PR 94565) 2020-04-14 11:42:04 +01:00
common
object libstdc++: Fix constraints on std::compare_three_way 2020-04-14 21:59:15 +01:00