-
libstdc++: Fix constraints on std::compare_three_way · e1e9e8d7
My "simplification" of std::compare_three_way's constraints in commit f214ffb3 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.
Jonathan Wakely committed
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| 93479.cc | Loading commit data... | |
| builtin-ptr-three-way.cc | Loading commit data... |