Home | History | Annotate | Download | only in bits

Lines Matching refs:_Tp

140   template<typename _Tp>
141 struct plus : public binary_function<_Tp, _Tp, _Tp>
143 _Tp
144 operator()(const _Tp& __x, const _Tp& __y) const
149 template<typename _Tp>
150 struct minus : public binary_function<_Tp, _Tp, _Tp>
152 _Tp
153 operator()(const _Tp& __x, const _Tp& __y) const
158 template<typename _Tp>
159 struct multiplies : public binary_function<_Tp, _Tp, _Tp>
161 _Tp
162 operator()(const _Tp& __x, const _Tp& __y) const
167 template<typename _Tp>
168 struct divides : public binary_function<_Tp, _Tp, _Tp>
170 _Tp
171 operator()(const _Tp& __x, const _Tp& __y) const
176 template<typename _Tp>
177 struct modulus : public binary_function<_Tp, _Tp, _Tp>
179 _Tp
180 operator()(const _Tp& __x, const _Tp& __y) const
185 template<typename _Tp>
186 struct negate : public unary_function<_Tp, _Tp>
188 _Tp
189 operator()(const _Tp& __x) const
204 template<typename _Tp>
205 struct equal_to : public binary_function<_Tp, _Tp, bool>
208 operator()(const _Tp& __x, const _Tp& __y) const
213 template<typename _Tp>
214 struct not_equal_to : public binary_function<_Tp, _Tp, bool>
217 operator()(const _Tp& __x, const _Tp& __y) const
222 template<typename _Tp>
223 struct greater : public binary_function<_Tp, _Tp, bool>
226 operator()(const _Tp& __x, const _Tp& __y) const
231 template<typename _Tp>
232 struct less : public binary_function<_Tp, _Tp, bool>
235 operator()(const _Tp& __x, const _Tp& __y) const
240 template<typename _Tp>
241 struct greater_equal : public binary_function<_Tp, _Tp, bool>
244 operator()(const _Tp& __x, const _Tp& __y) const
249 template<typename _Tp>
250 struct less_equal : public binary_function<_Tp, _Tp, bool>
253 operator()(const _Tp& __x, const _Tp& __y) const
268 template<typename _Tp>
269 struct logical_and : public binary_function<_Tp, _Tp, bool>
272 operator()(const _Tp& __x, const _Tp& __y) const
277 template<typename _Tp>
278 struct logical_or : public binary_function<_Tp, _Tp, bool>
281 operator()(const _Tp& __x, const _Tp& __y) const
286 template<typename _Tp>
287 struct logical_not : public unary_function<_Tp, bool>
290 operator()(const _Tp& __x) const
297 template<typename _Tp>
298 struct bit_and : public binary_function<_Tp, _Tp, _Tp>
300 _Tp
301 operator()(const _Tp& __x, const _Tp& __y) const
305 template<typename _Tp>
306 struct bit_or : public binary_function<_Tp, _Tp, _Tp>
308 _Tp
309 operator()(const _Tp& __x, const _Tp& __y) const
313 template<typename _Tp>
314 struct bit_xor : public binary_function<_Tp, _Tp, _Tp>
316 _Tp
317 operator()(const _Tp& __x, const _Tp& __y) const
473 template<typename _Tp>
474 struct _Identity : public unary_function<_Tp,_Tp>
476 _Tp&
477 operator()(_Tp& __x) const
480 const _Tp&
481 operator()(const _Tp& __x) const
541 template<typename _Ret, typename _Tp>
542 class mem_fun_t : public unary_function<_Tp*, _Ret>
546 mem_fun_t(_Ret (_Tp::*__pf)())
550 operator()(_Tp* __p) const
554 _Ret (_Tp::*_M_f)();
559 template<typename _Ret, typename _Tp>
560 class const_mem_fun_t : public unary_function<const _Tp*, _Ret>
564 const_mem_fun_t(_Ret (_Tp::*__pf)() const)
568 operator()(const _Tp* __p) const
572 _Ret (_Tp::*_M_f)() const;
577 template<typename _Ret, typename _Tp>
578 class mem_fun_ref_t : public unary_function<_Tp, _Ret>
582 mem_fun_ref_t(_Ret (_Tp::*__pf)())
586 operator()(_Tp& __r) const
590 _Ret (_Tp::*_M_f)();
595 template<typename _Ret, typename _Tp>
596 class const_mem_fun_ref_t : public unary_function<_Tp, _Ret>
600 const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const)
604 operator()(const _Tp& __r) const
608 _Ret (_Tp::*_M_f)() const;
613 template<typename _Ret, typename _Tp, typename _Arg>
614 class mem_fun1_t : public binary_function<_Tp*, _Arg, _Ret>
618 mem_fun1_t(_Ret (_Tp::*__pf)(_Arg))
622 operator()(_Tp* __p, _Arg __x) const
626 _Ret (_Tp::*_M_f)(_Arg);
631 template<typename _Ret, typename _Tp, typename _Arg>
632 class const_mem_fun1_t : public binary_function<const _Tp*, _Arg, _Ret>
636 const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const)
640 operator()(const _Tp* __p, _Arg __x) const
644 _Ret (_Tp::*_M_f)(_Arg) const;
649 template<typename _Ret, typename _Tp, typename _Arg>
650 class mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
654 mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg))
658 operator()(_Tp& __r, _Arg __x) const
662 _Ret (_Tp::*_M_f)(_Arg);
667 template<typename _Ret, typename _Tp, typename _Arg>
668 class const_mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
672 const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const)
676 operator()(const _Tp& __r, _Arg __x) const
680 _Ret (_Tp::*_M_f)(_Arg) const;
685 template<typename _Ret, typename _Tp>
686 inline mem_fun_t<_Ret, _Tp>
687 mem_fun(_Ret (_Tp::*__f)())
688 { return mem_fun_t<_Ret, _Tp>(__f); }
690 template<typename _Ret, typename _Tp>
691 inline const_mem_fun_t<_Ret, _Tp>
692 mem_fun(_Ret (_Tp::*__f)() const)
693 { return const_mem_fun_t<_Ret, _Tp>(__f); }
695 template<typename _Ret, typename _Tp>
696 inline mem_fun_ref_t<_Ret, _Tp>
697 mem_fun_ref(_Ret (_Tp::*__f)())
698 { return mem_fun_ref_t<_Ret, _Tp>(__f); }
700 template<typename _Ret, typename _Tp>
701 inline const_mem_fun_ref_t<_Ret, _Tp>
702 mem_fun_ref(_Ret (_Tp::*__f)() const)
703 { return const_mem_fun_ref_t<_Ret, _Tp>(__f); }
705 template<typename _Ret, typename _Tp, typename _Arg>
706 inline mem_fun1_t<_Ret, _Tp, _Arg>
707 mem_fun(_Ret (_Tp::*__f)(_Arg))
708 { return mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
710 template<typename _Ret, typename _Tp, typename _Arg>
711 inline const_mem_fun1_t<_Ret, _Tp, _Arg>
712 mem_fun(_Ret (_Tp::*__f)(_Arg) const)
713 { return const_mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
715 template<typename _Ret, typename _Tp, typename _Arg>
716 inline mem_fun1_ref_t<_Ret, _Tp, _Arg>
717 mem_fun_ref(_Ret (_Tp::*__f)(_Arg))
718 { return mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }
720 template<typename _Ret, typename _Tp, typename _Arg>
721 inline const_mem_fun1_ref_t<_Ret, _Tp, _Arg>
722 mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const)
723 { return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }