Home
last modified time | relevance | path

Searched refs:NotThreeWayComparable (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/comparisons/
H A Dcompare_three_way.pass.cpp31 struct NotThreeWayComparable { struct
32 std::strong_ordering operator<=>(const NotThreeWayComparable&) const;
34 ASSERT_SAME_TYPE(std::compare_three_way_result_t<NotThreeWayComparable>, std::strong_ordering);
35 static_assert(!std::three_way_comparable<NotThreeWayComparable>); // it lacks operator==
79 static_assert(!test_sfinae(NotThreeWayComparable(), NotThreeWayComparable())); in main()