STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Private Attributes | List of all members
_Callable_base< _Ty, true > Struct Template Reference

Public Types

enum  { _EEN_INDIRECT = 1 }
 
typedef _Ty _MyTy
 
typedef _Ty & _MyCnstTy
 

Public Member Functions

 _Callable_base (_Ty &_Val)
 
_MyCnstTy _Get () const
 
_Ty & _Get ()
 
void _Reset (_Ty &_Val)
 

Private Attributes

_Ty * _Ptr
 

Member Typedef Documentation

template<class _Ty >
typedef _Ty& _Callable_base< _Ty, true >::_MyCnstTy
template<class _Ty >
typedef _Ty _Callable_base< _Ty, true >::_MyTy

Member Enumeration Documentation

template<class _Ty >
anonymous enum
Enumerator
_EEN_INDIRECT 
204 {_EEN_INDIRECT = 1}; // helper for expression evaluator

Constructor & Destructor Documentation

template<class _Ty >
_Callable_base< _Ty, true >::_Callable_base ( _Ty &  _Val)
inline
209  : _Ptr(_STD addressof(_Val))
210  { // construct
211  }
_Ty * _Ptr
Definition: xrefwrap:229
_Ty * addressof(_Ty &_Val) _NOEXCEPT
Definition: xstddef:91
_FwdIt const _Ty _Val
Definition: algorithm:1938

Member Function Documentation

template<class _Ty >
_MyCnstTy _Callable_base< _Ty, true >::_Get ( ) const
inline
214  { // return reference to stored object
215  return (*_Ptr);
216  }
_Ty * _Ptr
Definition: xrefwrap:229
template<class _Ty >
_Ty& _Callable_base< _Ty, true >::_Get ( )
inline
219  { // return reference to stored object
220  return (*_Ptr);
221  }
_Ty * _Ptr
Definition: xrefwrap:229
template<class _Ty >
void _Callable_base< _Ty, true >::_Reset ( _Ty &  _Val)
inline
224  { // reseat reference
225  _Ptr = _STD addressof(_Val);
226  }
_Ty * _Ptr
Definition: xrefwrap:229
_Ty * addressof(_Ty &_Val) _NOEXCEPT
Definition: xstddef:91
_FwdIt const _Ty _Val
Definition: algorithm:1938

Member Data Documentation

template<class _Ty >
_Ty* _Callable_base< _Ty, true >::_Ptr
private

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