Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/language.support/cmp/cmp.alg/
H A Dpartial_order.pass.cpp28 -> decltype(std::partial_order(static_cast<T&&>(t), static_cast<U&&>(u)), true) in has_partial_order()
41 std::strong_ordering partial_order(const A&, const B&);
68 std::strong_ordering partial_order(const A&, const A&);
71 friend int partial_order(B, B);
91 assert(std::partial_order(a, std::move(a)) == std::partial_ordering::less); in test_1_2()
100 assert(std::partial_order(c1, c2) == std::partial_ordering::less); in test_1_2()
147 assert(std::partial_order(c1, c2) == std::partial_ordering::equivalent); in test_1_3()
156 assert(std::partial_order(F(1), F(2)) == std::partial_ordering::less); in test_1_3()
166 assert(std::partial_order(F(1), F(2)) == std::partial_ordering::less); in test_1_3()
176 assert(std::partial_order(F(1), F(2)) == std::partial_ordering::less); in test_1_3()
[all …]
H A Dcompare_partial_order_fallback.pass.cpp40 std::strong_ordering partial_order(const A&, const A&) { return std::strong_ordering::less; } in partial_order() function
41 std::strong_ordering partial_order(const A&, const B&);
66 std::strong_ordering partial_order(A&, A&&) { return std::strong_ordering::less; } in partial_order() function
67 std::weak_ordering partial_order(A&&, A&&) { return std::weak_ordering::equivalent; } in partial_order() function
68 std::strong_ordering partial_order(const A&, const A&);
71 friend int partial_order(B, B);
79 friend PartialOrder partial_order(C& lhs, C&) { lhs.touched = true; return PartialOrder(); } in partial_order() function
100 assert(std::partial_order(c1, c2) == std::partial_ordering::less); in test_1_2()
/llvm-project-15.0.7/libcxx/include/__compare/
H A Dpartial_order.h35 …noexcept(noexcept(partial_ordering(partial_order(_VSTD::forward<_Tp>(__t), _VSTD::forward<_Up>(__u…
36 …-> decltype( partial_ordering(partial_order(_VSTD::forward<_Tp>(__t), _VSTD::forward<_Up>(__u…
37 …{ return partial_ordering(partial_order(_VSTD::forward<_Tp>(__t), _VSTD::forward<_Up>(__u…
64 inline constexpr auto partial_order = __partial_order::__fn{};
H A Dcompare_partial_order_fallback.h34 … noexcept(noexcept(_VSTD::partial_order(_VSTD::forward<_Tp>(__t), _VSTD::forward<_Up>(__u))))
35 … -> decltype( _VSTD::partial_order(_VSTD::forward<_Tp>(__t), _VSTD::forward<_Up>(__u)))
36 … { return _VSTD::partial_order(_VSTD::forward<_Tp>(__t), _VSTD::forward<_Up>(__u)); }
/llvm-project-15.0.7/libcxx/include/
H A Dcompare57 inline constexpr unspecified partial_order = unspecified;
152 #include <__compare/partial_order.h>
H A DCMakeLists.txt232 __compare/partial_order.h
H A Dmodule.modulemap.in533 module partial_order { private header "__compare/partial_order.h" }
/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/
H A Dcpo.compile.pass.cpp56 static_assert(test(std::partial_order, 1, 2));
/llvm-project-15.0.7/libcxx/docs/Status/
H A DSpaceshipProjects.csv10 | `partial_order <https://reviews.llvm.org/D110738>`_
H A DCxx20Issues.csv248 "`3324 <https://wg21.link/LWG3324>`__","Special-case ``std::strong/weak/partial_order``\ for point…
/llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn293 "__compare/partial_order.h",
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DStdSymbolMap.inc871 SYMBOL(partial_order, std::, <compare>)