STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
_Call_wrapper< _Callable, _Is_abstract > Struct Template Reference
Inheritance diagram for _Call_wrapper< _Callable, _Is_abstract >:
_Call_wrapper_base< _Callable >

Public Types

typedef _Call_wrapper_base< _Callable > _Mybase
 
- Public Types inherited from _Call_wrapper_base< _Callable >
typedef _Callable::_MyTy _MyTy
 
typedef _Callable::_MyCnstTy _MyCnstTy
 

Public Member Functions

 _Call_wrapper (typename _Call_wrapper_base< _Callable >::_MyTy &_Val)
 
template<class... _Types>
result_of< typename _Callable::_MyTy(_Types...)>::type operator() (_Types &&..._Args) const
 
- Public Member Functions inherited from _Call_wrapper_base< _Callable >
 _Call_wrapper_base (_MyTy &_Val)
 
void _Reset (_MyTy &_Val)
 
_MyCnstTy _Get () const
 
_MyCnstTy _Get ()
 

Additional Inherited Members

- Public Attributes inherited from _Call_wrapper_base< _Callable >
_Callable _Callee
 

Member Typedef Documentation

template<class _Callable, bool _Is_abstract = false>
typedef _Call_wrapper_base<_Callable> _Call_wrapper< _Callable, _Is_abstract >::_Mybase

Constructor & Destructor Documentation

template<class _Callable, bool _Is_abstract = false>
_Call_wrapper< _Callable, _Is_abstract >::_Call_wrapper ( typename _Call_wrapper_base< _Callable >::_MyTy _Val)
inline
427  { // construct
428  }
Definition: xrefwrap:389
_FwdIt const _Ty _Val
Definition: algorithm:1938

Member Function Documentation

template<class _Callable, bool _Is_abstract = false>
template<class... _Types>
result_of< typename _Callable::_MyTy(_Types...)>::type _Call_wrapper< _Callable, _Is_abstract >::operator() ( _Types &&...  _Args) const
inline
434  { // call target object
435  typedef typename result_of<
436  typename _Callable::_MyTy(_Types...)>::type _Ret;
437  return (this->_Callee.template _ApplyX<_Ret>(
438  _STD forward<_Types>(_Args)...));
439  }
Definition: xrefwrap:102
_Callable _Callee
Definition: xrefwrap:414

The documentation for this struct was generated from the following file: