Searched refs:StrongSpaceship (Results 1 – 1 of 1) sorted by relevance
64 struct StrongSpaceship { in test() struct66 constexpr bool operator==(const StrongSpaceship&) const = default; in test()67 …constexpr std::strong_ordering operator<=>(const StrongSpaceship& other) const { return value <=> … in test() argument69 assert(synth_three_way(StrongSpaceship{1}, StrongSpaceship{1}) == std::strong_ordering::equal); in test()70 … assert(synth_three_way(StrongSpaceship{2}, StrongSpaceship{1}) == std::strong_ordering::greater); in test()71 assert(synth_three_way(StrongSpaceship{1}, StrongSpaceship{2}) == std::strong_ordering::less); in test()72 … ASSERT_SAME_TYPE(std::strong_ordering, synth_three_way_result<StrongSpaceship, StrongSpaceship>); in test()