Lines Matching defs:_Functor

92 template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
93 class result_of<_Functor(_GLIBCXX_TEMPLATE_ARGS)>
95 _Has_result_type<_Weak_result_type<_Functor> >::value,
96 _Functor(_GLIBCXX_TEMPLATE_ARGS)>
99 template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
100 struct _Result_of_impl<true, _Functor(_GLIBCXX_TEMPLATE_ARGS)>
102 typedef typename _Weak_result_type<_Functor>::result_type type;
105 template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
106 struct _Result_of_impl<false, _Functor(_GLIBCXX_TEMPLATE_ARGS)>
109 typedef typename _Functor
110 ::template result<_Functor(_GLIBCXX_TEMPLATE_ARGS)>::type type;
122 template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
124 typename __gnu_cxx::__enable_if<(!is_member_pointer<_Functor>::value
125 && !is_function<_Functor>::value
126 && !is_function<typename remove_pointer<_Functor>::type>::value),
127 typename result_of<_Functor(_GLIBCXX_TEMPLATE_ARGS)>::type>::__type
128 __invoke(_Functor& __f _GLIBCXX_COMMA _GLIBCXX_REF_PARAMS)
134 template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
136 typename __gnu_cxx::__enable_if<(is_member_pointer<_Functor>::value
137 && !is_function<_Functor>::value
138 && !is_function<typename remove_pointer<_Functor>::type>::value),
139 typename result_of<_Functor(_GLIBCXX_TEMPLATE_ARGS)>::type
141 __invoke(_Functor& __f _GLIBCXX_COMMA _GLIBCXX_REF_PARAMS)
148 template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
150 typename __gnu_cxx::__enable_if<(is_pointer<_Functor>::value
151 && is_function<typename remove_pointer<_Functor>::type>::value),
152 typename result_of<_Functor(_GLIBCXX_TEMPLATE_ARGS)>::type
154 __invoke(_Functor __f _GLIBCXX_COMMA _GLIBCXX_REF_PARAMS)
185 typedef _Res (_Class::*_Functor)(_GLIBCXX_TEMPLATE_ARGS_SHIFTED);
202 explicit _Mem_fn(_Functor __pf) : __pmf(__pf) { }
227 _Functor __pmf;
239 typedef _Res (_Class::*_Functor)(_GLIBCXX_TEMPLATE_ARGS_SHIFTED) const;
256 explicit _Mem_fn(_Functor __pf) : __pmf(__pf) { }
281 _Functor __pmf;
293 typedef _Res (_Class::*_Functor)(_GLIBCXX_TEMPLATE_ARGS_SHIFTED) volatile;
310 explicit _Mem_fn(_Functor __pf) : __pmf(__pf) { }
334 _Functor __pmf;
346 typedef _Res (_Class::*_Functor)(_GLIBCXX_TEMPLATE_ARGS_SHIFTED)
364 explicit _Mem_fn(_Functor __pf) : __pmf(__pf) { }
389 _Functor __pmf;
403 template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
404 class _Bind<_Functor(_GLIBCXX_TEMPLATE_ARGS)>
405 : public _Weak_result_type<_Functor>
409 _Functor _M_f;
416 _Bind(_Functor __f _GLIBCXX_COMMA _GLIBCXX_PARAMS)
424 template<typename _Result, typename _Functor
426 class _Bind_result<_Result, _Functor(_GLIBCXX_TEMPLATE_ARGS)>
428 _Functor _M_f;
437 _Bind_result(_Functor __f _GLIBCXX_COMMA _GLIBCXX_PARAMS)
448 template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
450 _Bind<typename _Maybe_wrap_member_pointer<_Functor>::type
452 bind(_Functor __f _GLIBCXX_COMMA _GLIBCXX_PARAMS)
454 typedef _Maybe_wrap_member_pointer<_Functor> __maybe_type;
461 template<typename _Result, typename _Functor
465 typename _Maybe_wrap_member_pointer<_Functor>::type
467 bind(_Functor __f _GLIBCXX_COMMA _GLIBCXX_PARAMS)
469 typedef _Maybe_wrap_member_pointer<_Functor> __maybe_type;
477 template<typename _Res, typename _Functor _GLIBCXX_COMMA
479 class _Function_handler<_Res(_GLIBCXX_TEMPLATE_ARGS), _Functor>
480 : public _Function_base::_Base_manager<_Functor>
482 typedef _Function_base::_Base_manager<_Functor> _Base;
492 template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
493 class _Function_handler<void(_GLIBCXX_TEMPLATE_ARGS), _Functor>
494 : public _Function_base::_Base_manager<_Functor>
496 typedef _Function_base::_Base_manager<_Functor> _Base;
506 template<typename _Res, typename _Functor _GLIBCXX_COMMA
509 reference_wrapper<_Functor> >
510 : public _Function_base::_Ref_manager<_Functor>
512 typedef _Function_base::_Ref_manager<_Functor> _Base;
523 template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS>
525 reference_wrapper<_Functor> >
526 : public _Function_base::_Ref_manager<_Functor>
528 typedef _Function_base::_Ref_manager<_Functor> _Base;
561 typedef _Member _Class::* _Functor;
562 typedef _Simple_type_wrapper< _Functor > _Wrapper;
572 __dest._M_access<const type_info*>() = &typeid(_Functor);
576 __dest._M_access<_Functor*>() =
668 template<typename _Functor>
669 function(_Functor __f,
670 typename __gnu_cxx::__enable_if<!is_integral<_Functor>::value, _Useless>::__type = _Useless());
723 template<typename _Functor>
724 typename __gnu_cxx::__enable_if<!is_integral<_Functor>::value, function&>::__type
725 operator=(_Functor __f)
808 template<typename _Functor> _Functor* target();
813 template<typename _Functor> const _Functor* target() const;
839 template<typename _Functor>
841 ::function(_Functor __f,
842 typename __gnu_cxx::__enable_if<!is_integral<_Functor>::value, _Useless>::__type)
845 typedef _Function_handler<_Signature_type, _Functor> _My_handler;
885 template<typename _Functor>
886 _Functor*
889 if (typeid(_Functor) == target_type() && _M_manager)
893 && !is_const<_Functor>::value)
896 return __ptr._M_access<_Functor*>();
905 template<typename _Functor>
906 const _Functor*
909 if (typeid(_Functor) == target_type() && _M_manager)
913 return __ptr._M_access<const _Functor*>();