Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/intcmp.cmp_less_equal/
H A Dcmp_less_equal.pass.cpp38 assert(std::cmp_less_equal(T(0), T(0))); in test_cmp_less_equal1()
39 assert(std::cmp_less_equal(T(0), T(1))); in test_cmp_less_equal1()
46 assert(!std::cmp_less_equal(T(1), T(0))); in test_cmp_less_equal1()
47 assert(!std::cmp_less_equal(T(10), T(5))); in test_cmp_less_equal1()
50 assert(!std::cmp_less_equal(tup.max, 1)); in test_cmp_less_equal1()
51 assert(!std::cmp_less_equal(1, tup.min)); in test_cmp_less_equal1()
52 assert(std::cmp_less_equal(T(-1), T(-1))); in test_cmp_less_equal1()
55 assert(std::cmp_less_equal(-2, tup.max)); in test_cmp_less_equal1()
61 assert(std::cmp_less_equal(T(0), U(1))); in test_cmp_less_equal2()
62 assert(std::cmp_less_equal(T(0), U(0))); in test_cmp_less_equal2()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.intcmp/
H A Dintcmp.fail.cpp62 …std::cmp_less_equal(T(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_les… in test()
63 …std::cmp_less_equal(T(), int()); // expected-error 10-11 {{no matching function for call to 'cmp_l… in test()
64 …std::cmp_less_equal(int(), T()); // expected-error 10-11 {{no matching function for call to 'cmp_l… in test()
86 …std::cmp_less_equal(T(), T()); // expected-error 1 {{no matching function for call to 'cmp_less_eq… in test_char8t()
87 …std::cmp_less_equal(T(), int()); // expected-error 1 {{no matching function for call to 'cmp_less_… in test_char8t()
88 …std::cmp_less_equal(int(), T()); // expected-error 1 {{no matching function for call to 'cmp_less_… in test_char8t()
111 …std::cmp_less_equal(T(), T()); // expected-error 2 {{no matching function for call to 'cmp_less_eq… in test_uchars()
112 …std::cmp_less_equal(T(), int()); // expected-error 2 {{no matching function for call to 'cmp_less_… in test_uchars()
113 …std::cmp_less_equal(int(), T()); // expected-error 2 {{no matching function for call to 'cmp_less_… in test_uchars()
/llvm-project-15.0.7/libcxx/include/__utility/
H A Dcmp.h82 bool cmp_less_equal(_Tp __t, _Up __u) noexcept in cmp_less_equal() function
98 return _VSTD::cmp_less_equal(__u, numeric_limits<_Tp>::max()) && in in_range()
/llvm-project-15.0.7/libcxx/include/
H A Dutility65 template<class T, class U> constexpr bool cmp_less_equal(T t, U u) noexcept; // C++20