Lines Matching refs:_Traits
32 template <class _Traits>
34 : public binary_function<typename _Traits::char_type,
35 typename _Traits::char_type,
37 bool operator()(const typename _Traits::char_type& __x,
38 const typename _Traits::char_type& __y) const
39 { return _Traits::eq(__x, __y); }
42 template <class _Traits>
44 : public unary_function<typename _Traits::char_type, bool> {
45 typename _Traits::char_type __val;
46 _Eq_char_bound(typename _Traits::char_type __c) : __val(__c) {}
47 bool operator()(const typename _Traits::char_type& __x) const
48 { return _Traits::eq(__x, __val); }
51 template <class _Traits>
53 : public unary_function<typename _Traits::char_type, bool>
55 typename _Traits::char_type __val;
56 _Neq_char_bound(typename _Traits::char_type __c) : __val(__c) {}
57 bool operator()(const typename _Traits::char_type& __x) const
58 { return !_Traits::eq(__x, __val); }
61 template <class _Traits>
63 : public unary_function<typename _Traits::char_type, bool> {
64 typename _Traits::int_type __val;
66 _Eq_int_bound(typename _Traits::int_type __c) : __val(__c) {}
67 bool operator()(const typename _Traits::char_type& __x) const
68 { return _Traits::eq_int_type(_Traits::to_int_type(__x), __val); }
72 template <class _Traits>
74 : public binary_function<typename _Traits::char_type,
75 typename _Traits::char_type,
77 bool operator()(const typename _Traits::char_type& __x,
78 const typename _Traits::char_type& __y) const
79 { return _Traits::lt(__x, __y); }