https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92431
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Wed Nov 13 16:26:18 2019 New Revision: 278149 URL: https://gcc.gnu.org/viewcvs?rev=278149&root=gcc&view=rev Log: libsupc++: Implement comparison algorithms for C++20 This is incomplete because std::strong_order doesn't support floating-point types. The partial_order and weak_order tests use VERIFY instead of static_assert because of PR 92431. * libsupc++/compare (strong_order, weak_order, partial_order) (compare_strong_order_fallback, compare_weak_order_fallback) (compare_partial_order_fallback): Define customization point objects for C++20. * testsuite/18_support/comparisons/algorithms/partial_order.cc: New test. * testsuite/18_support/comparisons/algorithms/strong_order.cc: New test. * testsuite/18_support/comparisons/algorithms/weak_order.cc: New test. Added: trunk/libstdc++-v3/testsuite/18_support/comparisons/algorithms/ trunk/libstdc++-v3/testsuite/18_support/comparisons/algorithms/partial_order.cc trunk/libstdc++-v3/testsuite/18_support/comparisons/algorithms/strong_order.cc trunk/libstdc++-v3/testsuite/18_support/comparisons/algorithms/weak_order.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/libsupc++/compare