Home | History | Annotate | Download | only in bits

Lines Matching refs:_Tp

134   template<typename _Tp>
135 struct plus : public binary_function<_Tp, _Tp, _Tp>
137 _Tp
138 operator()(const _Tp& __x, const _Tp& __y) const
143 template<typename _Tp>
144 struct minus : public binary_function<_Tp, _Tp, _Tp>
146 _Tp
147 operator()(const _Tp& __x, const _Tp& __y) const
152 template<typename _Tp>
153 struct multiplies : public binary_function<_Tp, _Tp, _Tp>
155 _Tp
156 operator()(const _Tp& __x, const _Tp& __y) const
161 template<typename _Tp>
162 struct divides : public binary_function<_Tp, _Tp, _Tp>
164 _Tp
165 operator()(const _Tp& __x, const _Tp& __y) const
170 template<typename _Tp>
171 struct modulus : public binary_function<_Tp, _Tp, _Tp>
173 _Tp
174 operator()(const _Tp& __x, const _Tp& __y) const
179 template<typename _Tp>
180 struct negate : public unary_function<_Tp, _Tp>
182 _Tp
183 operator()(const _Tp& __x) const
198 template<typename _Tp>
199 struct equal_to : public binary_function<_Tp, _Tp, bool>
202 operator()(const _Tp& __x, const _Tp& __y) const
207 template<typename _Tp>
208 struct not_equal_to : public binary_function<_Tp, _Tp, bool>
211 operator()(const _Tp& __x, const _Tp& __y) const
216 template<typename _Tp>
217 struct greater : public binary_function<_Tp, _Tp, bool>
220 operator()(const _Tp& __x, const _Tp& __y) const
225 template<typename _Tp>
226 struct less : public binary_function<_Tp, _Tp, bool>
229 operator()(const _Tp& __x, const _Tp& __y) const
234 template<typename _Tp>
235 struct greater_equal : public binary_function<_Tp, _Tp, bool>
238 operator()(const _Tp& __x, const _Tp& __y) const
243 template<typename _Tp>
244 struct less_equal : public binary_function<_Tp, _Tp, bool>
247 operator()(const _Tp& __x, const _Tp& __y) const
262 template<typename _Tp>
263 struct logical_and : public binary_function<_Tp, _Tp, bool>
266 operator()(const _Tp& __x, const _Tp& __y) const
271 template<typename _Tp>
272 struct logical_or : public binary_function<_Tp, _Tp, bool>
275 operator()(const _Tp& __x, const _Tp& __y) const
280 template<typename _Tp>
281 struct logical_not : public unary_function<_Tp, bool>
284 operator()(const _Tp& __x) const
291 template<typename _Tp>
292 struct bit_and : public binary_function<_Tp, _Tp, _Tp>
294 _Tp
295 operator()(const _Tp& __x, const _Tp& __y) const
299 template<typename _Tp>
300 struct bit_or : public binary_function<_Tp, _Tp, _Tp>
302 _Tp
303 operator()(const _Tp& __x, const _Tp& __y) const
307 template<typename _Tp>
308 struct bit_xor : public binary_function<_Tp, _Tp, _Tp>
310 _Tp
311 operator()(const _Tp& __x, const _Tp& __y) const
467 template<typename _Tp>
468 struct _Identity : public unary_function<_Tp,_Tp>
470 _Tp&
471 operator()(_Tp& __x) const
474 const _Tp&
475 operator()(const _Tp& __x) const
523 template<typename _Ret, typename _Tp>
524 class mem_fun_t : public unary_function<_Tp*, _Ret>
528 mem_fun_t(_Ret (_Tp::*__pf)())
532 operator()(_Tp* __p) const
536 _Ret (_Tp::*_M_f)();
541 template<typename _Ret, typename _Tp>
542 class const_mem_fun_t : public unary_function<const _Tp*, _Ret>
546 const_mem_fun_t(_Ret (_Tp::*__pf)() const)
550 operator()(const _Tp* __p) const
554 _Ret (_Tp::*_M_f)() const;
559 template<typename _Ret, typename _Tp>
560 class mem_fun_ref_t : public unary_function<_Tp, _Ret>
564 mem_fun_ref_t(_Ret (_Tp::*__pf)())
568 operator()(_Tp& __r) const
572 _Ret (_Tp::*_M_f)();
577 template<typename _Ret, typename _Tp>
578 class const_mem_fun_ref_t : public unary_function<_Tp, _Ret>
582 const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const)
586 operator()(const _Tp& __r) const
590 _Ret (_Tp::*_M_f)() const;
595 template<typename _Ret, typename _Tp, typename _Arg>
596 class mem_fun1_t : public binary_function<_Tp*, _Arg, _Ret>
600 mem_fun1_t(_Ret (_Tp::*__pf)(_Arg))
604 operator()(_Tp* __p, _Arg __x) const
608 _Ret (_Tp::*_M_f)(_Arg);
613 template<typename _Ret, typename _Tp, typename _Arg>
614 class const_mem_fun1_t : public binary_function<const _Tp*, _Arg, _Ret>
618 const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const)
622 operator()(const _Tp* __p, _Arg __x) const
626 _Ret (_Tp::*_M_f)(_Arg) const;
631 template<typename _Ret, typename _Tp, typename _Arg>
632 class mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
636 mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg))
640 operator()(_Tp& __r, _Arg __x) const
644 _Ret (_Tp::*_M_f)(_Arg);
649 template<typename _Ret, typename _Tp, typename _Arg>
650 class const_mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
654 const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const)
658 operator()(const _Tp& __r, _Arg __x) const
662 _Ret (_Tp::*_M_f)(_Arg) const;
667 template<typename _Ret, typename _Tp>
668 inline mem_fun_t<_Ret, _Tp>
669 mem_fun(_Ret (_Tp::*__f)())
670 { return mem_fun_t<_Ret, _Tp>(__f); }
672 template<typename _Ret, typename _Tp>
673 inline const_mem_fun_t<_Ret, _Tp>
674 mem_fun(_Ret (_Tp::*__f)() const)
675 { return const_mem_fun_t<_Ret, _Tp>(__f); }
677 template<typename _Ret, typename _Tp>
678 inline mem_fun_ref_t<_Ret, _Tp>
679 mem_fun_ref(_Ret (_Tp::*__f)())
680 { return mem_fun_ref_t<_Ret, _Tp>(__f); }
682 template<typename _Ret, typename _Tp>
683 inline const_mem_fun_ref_t<_Ret, _Tp>
684 mem_fun_ref(_Ret (_Tp::*__f)() const)
685 { return const_mem_fun_ref_t<_Ret, _Tp>(__f); }
687 template<typename _Ret, typename _Tp, typename _Arg>
688 inline mem_fun1_t<_Ret, _Tp, _Arg>
689 mem_fun(_Ret (_Tp::*__f)(_Arg))
690 { return mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
692 template<typename _Ret, typename _Tp, typename _Arg>
693 inline const_mem_fun1_t<_Ret, _Tp, _Arg>
694 mem_fun(_Ret (_Tp::*__f)(_Arg) const)
695 { return const_mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
697 template<typename _Ret, typename _Tp, typename _Arg>
698 inline mem_fun1_ref_t<_Ret, _Tp, _Arg>
699 mem_fun_ref(_Ret (_Tp::*__f)(_Arg))
700 { return mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }
702 template<typename _Ret, typename _Tp, typename _Arg>
703 inline const_mem_fun1_ref_t<_Ret, _Tp, _Arg>
704 mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const)
705 { return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }