STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
_Callable_obj< _Ty, _Indirect > Struct Template Reference
Inheritance diagram for _Callable_obj< _Ty, _Indirect >:
_Callable_base< _Ty, _Indirect >

Public Types

typedef _Callable_base< _Ty, _Indirect > _Mybase
 

Public Member Functions

template<class _Ty2 >
 _Callable_obj (_Ty2 &&_Val)
 
template<class _Ret , class... _Types>
_Ret _ApplyX (_Types &&..._Args) const
 
template<class _Ret , class... _Types>
_Ret _ApplyX (_Types &&..._Args)
 

Member Typedef Documentation

template<class _Ty, bool _Indirect = false>
typedef _Callable_base<_Ty, _Indirect> _Callable_obj< _Ty, _Indirect >::_Mybase

Constructor & Destructor Documentation

template<class _Ty, bool _Indirect = false>
template<class _Ty2 >
_Callable_obj< _Ty, _Indirect >::_Callable_obj ( _Ty2 &&  _Val)
inline
268  : _Mybase(_STD forward<_Ty2>(_Val))
269  { // construct
270  }
_Callable_base< _Ty, _Indirect > _Mybase
Definition: xrefwrap:264
_FwdIt const _Ty _Val
Definition: algorithm:1938

Member Function Documentation

template<class _Ty, bool _Indirect = false>
template<class _Ret , class... _Types>
_Ret _Callable_obj< _Ty, _Indirect >::_ApplyX ( _Types &&...  _Args) const
inline
275  { // apply to UDT object
276  return (this->_Get()(_STD forward<_Types>(_Args)...));
277  }
template<class _Ty, bool _Indirect = false>
template<class _Ret , class... _Types>
_Ret _Callable_obj< _Ty, _Indirect >::_ApplyX ( _Types &&...  _Args)
inline
282  { // apply to UDT object
283  return (this->_Get()(_STD forward<_Types>(_Args)...));
284  }

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