Lines Matching refs:_Tp

133   template <class _Tp>
134 struct plus : public binary_function<_Tp, _Tp, _Tp>
136 _Tp
137 operator()(const _Tp& __x, const _Tp& __y) const
142 template <class _Tp>
143 struct minus : public binary_function<_Tp, _Tp, _Tp>
145 _Tp
146 operator()(const _Tp& __x, const _Tp& __y) const
151 template <class _Tp>
152 struct multiplies : public binary_function<_Tp, _Tp, _Tp>
154 _Tp
155 operator()(const _Tp& __x, const _Tp& __y) const
160 template <class _Tp>
161 struct divides : public binary_function<_Tp, _Tp, _Tp>
163 _Tp
164 operator()(const _Tp& __x, const _Tp& __y) const
169 template <class _Tp>
170 struct modulus : public binary_function<_Tp, _Tp, _Tp>
172 _Tp
173 operator()(const _Tp& __x, const _Tp& __y) const
178 template <class _Tp>
179 struct negate : public unary_function<_Tp, _Tp>
181 _Tp
182 operator()(const _Tp& __x) const
195 template <class _Tp>
196 struct equal_to : public binary_function<_Tp, _Tp, bool>
199 operator()(const _Tp& __x, const _Tp& __y) const
204 template <class _Tp>
205 struct not_equal_to : public binary_function<_Tp, _Tp, bool>
208 operator()(const _Tp& __x, const _Tp& __y) const
213 template <class _Tp>
214 struct greater : public binary_function<_Tp, _Tp, bool>
217 operator()(const _Tp& __x, const _Tp& __y) const
222 template <class _Tp>
223 struct less : public binary_function<_Tp, _Tp, bool>
226 operator()(const _Tp& __x, const _Tp& __y) const
231 template <class _Tp>
232 struct greater_equal : public binary_function<_Tp, _Tp, bool>
235 operator()(const _Tp& __x, const _Tp& __y) const
240 template <class _Tp>
241 struct less_equal : public binary_function<_Tp, _Tp, bool>
244 operator()(const _Tp& __x, const _Tp& __y) const
256 template <class _Tp>
257 struct logical_and : public binary_function<_Tp, _Tp, bool>
260 operator()(const _Tp& __x, const _Tp& __y) const
265 template <class _Tp>
266 struct logical_or : public binary_function<_Tp, _Tp, bool>
269 operator()(const _Tp& __x, const _Tp& __y) const
274 template <class _Tp>
275 struct logical_not : public unary_function<_Tp, bool>
278 operator()(const _Tp& __x) const
416 template <class _Operation, class _Tp>
418 bind1st(const _Operation& __fn, const _Tp& __x)
450 template <class _Operation, class _Tp>
452 bind2nd(const _Operation& __fn, const _Tp& __x)
529 template <class _Tp>
530 struct _Identity : public unary_function<_Tp,_Tp>
532 _Tp&
533 operator()(_Tp& __x) const
536 const _Tp&
537 operator()(const _Tp& __x) const
582 template <class _Ret, class _Tp>
583 class mem_fun_t : public unary_function<_Tp*, _Ret>
587 mem_fun_t(_Ret (_Tp::*__pf)())
591 operator()(_Tp* __p) const
594 _Ret (_Tp::*_M_f)();
598 template <class _Ret, class _Tp>
599 class const_mem_fun_t : public unary_function<const _Tp*, _Ret>
603 const_mem_fun_t(_Ret (_Tp::*__pf)() const)
607 operator()(const _Tp* __p) const
610 _Ret (_Tp::*_M_f)() const;
614 template <class _Ret, class _Tp>
615 class mem_fun_ref_t : public unary_function<_Tp, _Ret>
619 mem_fun_ref_t(_Ret (_Tp::*__pf)())
623 operator()(_Tp& __r) const
626 _Ret (_Tp::*_M_f)();
630 template <class _Ret, class _Tp>
631 class const_mem_fun_ref_t : public unary_function<_Tp, _Ret>
635 const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const)
639 operator()(const _Tp& __r) const
642 _Ret (_Tp::*_M_f)() const;
646 template <class _Ret, class _Tp, class _Arg>
647 class mem_fun1_t : public binary_function<_Tp*, _Arg, _Ret>
651 mem_fun1_t(_Ret (_Tp::*__pf)(_Arg))
655 operator()(_Tp* __p, _Arg __x) const
658 _Ret (_Tp::*_M_f)(_Arg);
662 template <class _Ret, class _Tp, class _Arg>
663 class const_mem_fun1_t : public binary_function<const _Tp*, _Arg, _Ret>
667 const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const)
671 operator()(const _Tp* __p, _Arg __x) const
674 _Ret (_Tp::*_M_f)(_Arg) const;
678 template <class _Ret, class _Tp, class _Arg>
679 class mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
683 mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg))
687 operator()(_Tp& __r, _Arg __x) const
690 _Ret (_Tp::*_M_f)(_Arg);
694 template <class _Ret, class _Tp, class _Arg>
695 class const_mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
699 const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const)
703 operator()(const _Tp& __r, _Arg __x) const
706 _Ret (_Tp::*_M_f)(_Arg) const;
711 template <class _Ret, class _Tp>
712 inline mem_fun_t<_Ret, _Tp>
713 mem_fun(_Ret (_Tp::*__f)())
714 { return mem_fun_t<_Ret, _Tp>(__f); }
716 template <class _Ret, class _Tp>
717 inline const_mem_fun_t<_Ret, _Tp>
718 mem_fun(_Ret (_Tp::*__f)() const)
719 { return const_mem_fun_t<_Ret, _Tp>(__f); }
721 template <class _Ret, class _Tp>
722 inline mem_fun_ref_t<_Ret, _Tp>
723 mem_fun_ref(_Ret (_Tp::*__f)())
724 { return mem_fun_ref_t<_Ret, _Tp>(__f); }
726 template <class _Ret, class _Tp>
727 inline const_mem_fun_ref_t<_Ret, _Tp>
728 mem_fun_ref(_Ret (_Tp::*__f)() const)
729 { return const_mem_fun_ref_t<_Ret, _Tp>(__f); }
731 template <class _Ret, class _Tp, class _Arg>
732 inline mem_fun1_t<_Ret, _Tp, _Arg>
733 mem_fun(_Ret (_Tp::*__f)(_Arg))
734 { return mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
736 template <class _Ret, class _Tp, class _Arg>
737 inline const_mem_fun1_t<_Ret, _Tp, _Arg>
738 mem_fun(_Ret (_Tp::*__f)(_Arg) const)
739 { return const_mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
741 template <class _Ret, class _Tp, class _Arg>
742 inline mem_fun1_ref_t<_Ret, _Tp, _Arg>
743 mem_fun_ref(_Ret (_Tp::*__f)(_Arg))
744 { return mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }
746 template <class _Ret, class _Tp, class _Arg>
747 inline const_mem_fun1_ref_t<_Ret, _Tp, _Arg>
748 mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const)
749 { return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }