Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.spec/
H A Dthree_way_comparison.pass.cpp81 struct NoLessThan { in test() struct
82 constexpr bool operator==(const NoLessThan&) const; in test()
83 constexpr bool operator>(const NoLessThan&) const; in test()
85 static_assert(HasEqual<std::pair<int, NoLessThan>>); in test()
86 static_assert(!HasLess<std::pair<int, NoLessThan>>); in test()
87 static_assert(!HasSpaceship<std::pair<int, NoLessThan>>); in test()
/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/expos.only.func/
H A Dsynth_three_way.pass.cpp145 struct NoLessThan { in test() struct
146 constexpr bool operator==(const NoLessThan&) const; in test()
147 constexpr bool operator>(const NoLessThan&) const; in test()
148 constexpr bool operator>=(const NoLessThan&) const; in test()
149 constexpr bool operator<=(const NoLessThan&) const; in test()
151 static_assert(!can_synth_three_way<NoLessThan>); in test()