Re: [PATCH] libsupc++: Implement comparison algorithms for C++20

2019-11-13 Thread Jonathan Wakely
On 13/11/19 18:52 +0100, Daniel Krügler wrote: Am Mi., 13. Nov. 2019 um 17:26 Uhr schrieb Jonathan Wakely : This is incomplete because std::strong_order doesn't support floating-point types. I'm wondering whether the local __cat lambda expression at the beginning of __fp_weak_ordering is part

Re: [PATCH] libsupc++: Implement comparison algorithms for C++20

2019-11-13 Thread Daniel Krügler
Am Mi., 13. Nov. 2019 um 17:26 Uhr schrieb Jonathan Wakely : > > This is incomplete because std::strong_order doesn't support > floating-point types. I'm wondering whether the local __cat lambda expression at the beginning of __fp_weak_ordering is part of the incomplete code or just spurious? - D

[PATCH] libsupc++: Implement comparison algorithms for C++20

2019-11-13 Thread Jonathan Wakely
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