Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.cmp_not_equal/
H A Dcmp_not_equal.pass.cpp39 assert(!std::cmp_not_equal(T(0), T(0))); in test_cmp_not_equal1()
43 assert(std::cmp_not_equal(T(0), T(1))); in test_cmp_not_equal1()
44 assert(std::cmp_not_equal(T(1), T(0))); in test_cmp_not_equal1()
45 assert(std::cmp_not_equal(T(5), T(10))); in test_cmp_not_equal1()
46 assert(std::cmp_not_equal(T(10), T(5))); in test_cmp_not_equal1()
49 assert(std::cmp_not_equal(1, tup.max)); in test_cmp_not_equal1()
50 assert(std::cmp_not_equal(tup.max, 1)); in test_cmp_not_equal1()
51 assert(std::cmp_not_equal(1, tup.min)); in test_cmp_not_equal1()
52 assert(std::cmp_not_equal(tup.min, 1)); in test_cmp_not_equal1()
65 assert(std::cmp_not_equal(T(0), U(1))); in test_cmp_not_equal2()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/
H A Dintcmp.fail.cpp56 …std::cmp_not_equal(T(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_not_… in test()
57 …std::cmp_not_equal(T(), int()); // expected-error 10-11 {{no matching function for call to 'cmp_no… in test()
58 …std::cmp_not_equal(int(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_no… in test()
80 …std::cmp_not_equal(T(), T()); // expected-error 1 {{no matching function for call to 'cmp_not_equa… in test_char8t()
81 …std::cmp_not_equal(T(), int()); // expected-error 1 {{no matching function for call to 'cmp_not_eq… in test_char8t()
82 …std::cmp_not_equal(int(), T()); // expected-error 1 {{no matching function for call to 'cmp_not_eq… in test_char8t()
105 …std::cmp_not_equal(T(), T()); // expected-error 2 {{no matching function for call to 'cmp_not_equa… in test_uchars()
106 …std::cmp_not_equal(T(), int()); // expected-error 2 {{no matching function for call to 'cmp_not_eq… in test_uchars()
107 …std::cmp_not_equal(int(), T()); // expected-error 2 {{no matching function for call to 'cmp_not_eq… in test_uchars()
/llvm-project-15.0.7/libcxx/include/__utility/
H A Dcmp.h56 bool cmp_not_equal(_Tp __t, _Up __u) noexcept in cmp_not_equal() function
/llvm-project-15.0.7/libcxx/include/
H A Dutility62 template<class T, class U> constexpr bool cmp_not_equal(T t, U u) noexcept; // C++20