Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/expos.only.func/
H A Dsynth_three_way.pass.cpp30 constexpr auto synth_three_way(const T& t, const U& u) { in synth_three_way() function
46 assert(synth_three_way(1, 1) == std::strong_ordering::equal); in test()
47 assert(synth_three_way(2, 1) == std::strong_ordering::greater); in test()
48 assert(synth_three_way(1, 2) == std::strong_ordering::less); in test()
54 assert(synth_three_way(1.0, 1.0) == std::partial_ordering::equivalent); in test()
55 assert(synth_three_way(2.0, 1.0) == std::partial_ordering::greater); in test()
56 assert(synth_three_way(1.0, 2.0) == std::partial_ordering::less); in test()
57 assert(synth_three_way(nan, nan) == std::partial_ordering::unordered); in test()
154 assert(synth_three_way(1, 1U) == std::weak_ordering::equivalent); in test()
155 assert(synth_three_way(-1, 0U) == std::weak_ordering::greater); in test()
[all …]
/llvm-project-15.0.7/libcxx/include/
H A DCMakeLists.txt234 __compare/synth_three_way.h
H A Dmodule.modulemap.in535 module synth_three_way { private header "__compare/synth_three_way.h" }
H A Dtuple206 #include <__compare/synth_three_way.h>
/llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn295 "__compare/synth_three_way.h",