Lines Matching refs:__u
48 bool cmp_equal(_Tp __t, _Up __u) noexcept
51 return __t == __u;
53 return __t < 0 ? false : make_unsigned_t<_Tp>(__t) == __u;
55 return __u < 0 ? false : __t == make_unsigned_t<_Up>(__u);
60 bool cmp_not_equal(_Tp __t, _Up __u) noexcept
62 return !_VSTD::cmp_equal(__t, __u);
67 bool cmp_less(_Tp __t, _Up __u) noexcept
70 return __t < __u;
72 return __t < 0 ? true : make_unsigned_t<_Tp>(__t) < __u;
74 return __u < 0 ? false : __t < make_unsigned_t<_Up>(__u);
79 bool cmp_greater(_Tp __t, _Up __u) noexcept
81 return _VSTD::cmp_less(__u, __t);
86 bool cmp_less_equal(_Tp __t, _Up __u) noexcept
88 return !_VSTD::cmp_greater(__t, __u);
93 bool cmp_greater_equal(_Tp __t, _Up __u) noexcept
95 return !_VSTD::cmp_less(__t, __u);
100 bool in_range(_Up __u) noexcept
102 return _VSTD::cmp_less_equal(__u, numeric_limits<_Tp>::max()) &&
103 _VSTD::cmp_greater_equal(__u, numeric_limits<_Tp>::min());