]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Implement LWG 3465 for std::compare_partial_order_fallback [PR101056]
authorJonathan Wakely <jwakely@redhat.com>
Mon, 14 Jun 2021 11:30:52 +0000 (12:30 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 14 Jun 2021 13:04:45 +0000 (14:04 +0100)
commitb76a529c095f076c4780df0c913cf6d2391bcbc9
tree41e756b31f8630c27d74059a49559d41ce32c154
parente2c79b968ff95421c31a5a9a1b80b11321fe70d2
libstdc++: Implement LWG 3465 for std::compare_partial_order_fallback [PR101056]

libstdc++-v3/ChangeLog:

PR libstdc++/101056
* libsupc++/compare (compare_partial_order_fallback): Add
constraint using reversed parameter order, as per LWG 3465.
* testsuite/18_support/comparisons/algorithms/fallback.cc:
Adjust expected result.
libstdc++-v3/libsupc++/compare
libstdc++-v3/testsuite/18_support/comparisons/algorithms/fallback.cc