Searched refs:cmp_greater (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.cmp_greater/ |
| H A D | cmp_greater.pass.cpp | 38 assert(!std::cmp_greater(T(0), T(1))); in test_cmp_greater1() 39 assert(!std::cmp_greater(T(1), T(2))); in test_cmp_greater1() 43 assert(std::cmp_greater(T(1), T(0))); in test_cmp_greater1() 44 assert(std::cmp_greater(T(10), T(5))); in test_cmp_greater1() 50 assert(std::cmp_greater(tup.max, 1)); in test_cmp_greater1() 51 assert(std::cmp_greater(1, tup.min)); in test_cmp_greater1() 52 assert(!std::cmp_greater(T(-1), T(-1))); in test_cmp_greater1() 55 assert(!std::cmp_greater(-2, tup.max)); in test_cmp_greater1() 56 assert(std::cmp_greater(tup.max, -2)); in test_cmp_greater1() 61 assert(!std::cmp_greater(T(0), U(1))); in test_cmp_greater2() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/ |
| H A D | intcmp.fail.cpp | 65 …std::cmp_greater(T(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_greate… in test() 66 …std::cmp_greater(T(), int()); // expected-error 10-11 {{no matching function for call to 'cmp_grea… in test() 67 …std::cmp_greater(int(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_grea… in test() 89 std::cmp_greater(T(), T()); // expected-error 1 {{no matching function for call to 'cmp_greater'}} in test_char8t() 90 …std::cmp_greater(T(), int()); // expected-error 1 {{no matching function for call to 'cmp_greater'… in test_char8t() 91 …std::cmp_greater(int(), T()); // expected-error 1 {{no matching function for call to 'cmp_greater'… in test_char8t() 114 std::cmp_greater(T(), T()); // expected-error 2 {{no matching function for call to 'cmp_greater'}} in test_uchars() 115 …std::cmp_greater(T(), int()); // expected-error 2 {{no matching function for call to 'cmp_greater'… in test_uchars() 116 …std::cmp_greater(int(), T()); // expected-error 2 {{no matching function for call to 'cmp_greater'… in test_uchars()
|
| /llvm-project-15.0.7/libcxx/include/__utility/ |
| H A D | cmp.h | 75 bool cmp_greater(_Tp __t, _Up __u) noexcept in cmp_greater() function 84 return !_VSTD::cmp_greater(__t, __u); in cmp_less_equal()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | utility | 64 template<class T, class U> constexpr bool cmp_greater(T t, U u) noexcept; // C++20
|