STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
_Mem_fn< _Memptr > Class Template Reference
Inheritance diagram for _Mem_fn< _Memptr >:
_Tree_iter_types< _Value_type, _Size_type, _Difference_type, _Pointer, _Const_pointer, _Reference, _Const_reference, _Nodeptr_type >

Public Member Functions

 _Mem_fn (_Memptr _Val) _NOEXCEPT
 
template<class... _Types>
auto operator() (_Types &&..._Args) const -> decltype(_STD invoke(_Pm, _STD forward< _Types >(_Args)...))
 

Private Attributes

_Memptr _Pm
 

Additional Inherited Members

- Public Types inherited from _Tree_iter_types< _Value_type, _Size_type, _Difference_type, _Pointer, _Const_pointer, _Reference, _Const_reference, _Nodeptr_type >
typedef _Value_type value_type
 
typedef _Size_type size_type
 
typedef _Difference_type difference_type
 
typedef _Pointer pointer
 
typedef _Const_pointer const_pointer
 
typedef _Reference reference
 
typedef _Const_reference const_reference
 
typedef _Nodeptr_type _Nodeptr
 

Constructor & Destructor Documentation

template<class _Memptr >
_Mem_fn< _Memptr >::_Mem_fn ( _Memptr  _Val)
inlineexplicit
28  : _Pm(_Val)
29  { // construct, storing a pointer to member function/data
30  }
_Memptr _Pm
Definition: functional:24
_FwdIt const _Ty _Val
Definition: algorithm:1938

Member Function Documentation

template<class _Memptr >
template<class... _Types>
auto _Mem_fn< _Memptr >::operator() ( _Types &&...  _Args) const -> decltype(_STD invoke(_Pm, _STD forward<_Types>(_Args)...))
inline
35  { // invoke a pointer to member function/data
36  return (_STD invoke(_Pm, _STD forward<_Types>(_Args)...));
37  }
_Memptr _Pm
Definition: functional:24

Member Data Documentation

template<class _Memptr >
_Memptr _Mem_fn< _Memptr >::_Pm
private

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