forked from OSchip/llvm-project
bf20a09790
The tests for these are just copy-pasted from the tests for std::{strong,weak,partial}_order, and then I added an extra clause in each (test_2()) to test the stuff that's not just the same as std::*_order. This also includes the fix for https://wg21.link/LWG3465 (which falls naturally out of the "you must write it three times" style, but I've added test cases for it also). There is an action item here to go back and give good diagnostics for SFINAE failures in these CPOs. I've filed this as https://github.com/llvm/llvm-project/issues/53456 . Differential Revision: https://reviews.llvm.org/D111514 |
||
---|---|---|
.. | ||
common_comparison_category.h | ||
compare_partial_order_fallback.h | ||
compare_strong_order_fallback.h | ||
compare_three_way.h | ||
compare_three_way_result.h | ||
compare_weak_order_fallback.h | ||
is_eq.h | ||
ordering.h | ||
partial_order.h | ||
strong_order.h | ||
synth_three_way.h | ||
three_way_comparable.h | ||
weak_order.h |