Searched refs:cmp_equal (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.cmp_equal/ |
| H A D | cmp_equal.pass.cpp | 39 assert(std::cmp_equal(T(0), T(0))); in test_cmp_equal1() 40 assert(std::cmp_equal(T(10), T(10))); in test_cmp_equal1() 43 assert(!std::cmp_equal(T(0), T(1))); in test_cmp_equal1() 44 assert(!std::cmp_equal(T(1), T(0))); in test_cmp_equal1() 45 assert(!std::cmp_equal(T(5), T(10))); in test_cmp_equal1() 46 assert(!std::cmp_equal(T(10), T(5))); in test_cmp_equal1() 49 assert(!std::cmp_equal(1, tup.max)); in test_cmp_equal1() 50 assert(!std::cmp_equal(tup.max, 1)); in test_cmp_equal1() 51 assert(!std::cmp_equal(1, tup.min)); in test_cmp_equal1() 52 assert(!std::cmp_equal(tup.min, 1)); in test_cmp_equal1() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/ |
| H A D | intcmp.fail.cpp | 53 std::cmp_equal(T(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_equal'}} in test() 54 …std::cmp_equal(T(), int()); // expected-error 10-11 {{no matching function for call to 'cmp_equal'… in test() 55 …std::cmp_equal(int(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_equal'… in test() 77 std::cmp_equal(T(), T()); // expected-error 1 {{no matching function for call to 'cmp_equal'}} in test_char8t() 78 std::cmp_equal(T(), int()); // expected-error 1 {{no matching function for call to 'cmp_equal'}} in test_char8t() 79 std::cmp_equal(int(), T()); // expected-error 1 {{no matching function for call to 'cmp_equal'}} in test_char8t() 102 std::cmp_equal(T(), T()); // expected-error 2 {{no matching function for call to 'cmp_equal'}} in test_uchars() 103 std::cmp_equal(T(), int()); // expected-error 2 {{no matching function for call to 'cmp_equal'}} in test_uchars() 104 std::cmp_equal(int(), T()); // expected-error 2 {{no matching function for call to 'cmp_equal'}} in test_uchars()
|
| /llvm-project-15.0.7/libcxx/include/__utility/ |
| H A D | cmp.h | 44 bool cmp_equal(_Tp __t, _Up __u) noexcept in cmp_equal() function 58 return !_VSTD::cmp_equal(__t, __u); in cmp_not_equal()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | utility | 61 template<class T, class U> constexpr bool cmp_equal(T t, U u) noexcept; // C++20
|