Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.cmp_greater_equal/
H A Dcmp_greater_equal.pass.cpp38 assert(!std::cmp_greater_equal(T(0), T(1))); in test_cmp_greater_equal1()
39 assert(!std::cmp_greater_equal(T(1), T(2))); in test_cmp_greater_equal1()
43 assert(std::cmp_greater_equal(T(1), T(0))); in test_cmp_greater_equal1()
44 assert(std::cmp_greater_equal(T(10), T(5))); in test_cmp_greater_equal1()
50 assert(std::cmp_greater_equal(tup.max, 1)); in test_cmp_greater_equal1()
51 assert(std::cmp_greater_equal(1, tup.min)); in test_cmp_greater_equal1()
56 assert(std::cmp_greater_equal(tup.max, -2)); in test_cmp_greater_equal1()
61 assert(!std::cmp_greater_equal(T(0), U(1))); in test_cmp_greater_equal2()
62 assert(std::cmp_greater_equal(T(1), U(0))); in test_cmp_greater_equal2()
63 assert(std::cmp_greater_equal(T(0), U(0))); in test_cmp_greater_equal2()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/
H A Dintcmp.fail.cpp68 …std::cmp_greater_equal(T(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_… in test()
69 …std::cmp_greater_equal(T(), int()); // expected-error 10-11 {{no matching function for call to 'cm… in test()
70 …std::cmp_greater_equal(int(), T()); // expected-error 10-11 {{no matching function for call to 'cm… in test()
92 …std::cmp_greater_equal(T(), T()); // expected-error 1 {{no matching function for call to 'cmp_grea… in test_char8t()
93 …std::cmp_greater_equal(T(), int()); // expected-error 1 {{no matching function for call to 'cmp_gr… in test_char8t()
94 …std::cmp_greater_equal(int(), T()); // expected-error 1 {{no matching function for call to 'cmp_gr… in test_char8t()
117 …std::cmp_greater_equal(T(), T()); // expected-error 2 {{no matching function for call to 'cmp_grea… in test_uchars()
118 …std::cmp_greater_equal(T(), int()); // expected-error 2 {{no matching function for call to 'cmp_gr… in test_uchars()
119 …std::cmp_greater_equal(int(), T()); // expected-error 2 {{no matching function for call to 'cmp_gr… in test_uchars()
/llvm-project-15.0.7/libcxx/include/__utility/
H A Dcmp.h89 bool cmp_greater_equal(_Tp __t, _Up __u) noexcept in cmp_greater_equal() function
99 _VSTD::cmp_greater_equal(__u, numeric_limits<_Tp>::min()); in in_range()
/llvm-project-15.0.7/libcxx/include/
H A Dutility66 template<class T, class U> constexpr bool cmp_greater_equal(T t, U u) noexcept; // C++20