r278149 - in /trunk/libstdc++-v3: ChangeLog lib...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Nov 13 16:26:00 GMT 2019


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



More information about the Libstdc++-cvs mailing list