STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
reference_wrapper< _Ty > Class Template Reference
Inheritance diagram for reference_wrapper< _Ty >:
_Refwrap_impl< _Ty > _Call_wrapper< _Callable_obj< _Ty, true >, is_abstract< _Ty >::value > _Refwrap_result2< _Ty, _Has_result_and_2arg_type< _Ty >::type::value > _Call_wrapper_base< _Callable_obj< _Ty, true > > _Refwrap_result1< _Ty, _Has_result_and_arg_type< _Ty >::type::value > _Refwrap_result0< _Ty, _Has_result_type< _Ty >::type::value >

Public Types

typedef reference_wrapper< _Ty > _Myt
 
typedef _Refwrap_impl< _Ty > _Mybase
 
typedef _Ty type
 
- Public Types inherited from _Call_wrapper< _Callable_obj< _Ty, true >, is_abstract< _Ty >::value >
typedef _Call_wrapper_base< _Callable_obj< _Ty, true > > _Mybase
 
- Public Types inherited from _Call_wrapper_base< _Callable_obj< _Ty, true > >
typedef _Callable_obj< _Ty, true >::_MyTy _MyTy
 
typedef _Callable_obj< _Ty, true >::_MyCnstTy _MyCnstTy
 
- Public Types inherited from _Refwrap_result0< _Ty, _Has_result_type< _Ty >::type::value >
typedef _Ty::result_type result_type
 

Public Member Functions

 reference_wrapper (_Ty &_Val) _NOEXCEPT
 
 reference_wrapper (const _Myt &_Right) _NOEXCEPT
 
_Mytoperator= (const _Myt &_Right) _NOEXCEPT
 
 operator _Ty & () const _NOEXCEPT
 
_Ty & get () const _NOEXCEPT
 
 reference_wrapper (_Ty &&)=delete
 
- Public Member Functions inherited from _Refwrap_impl< _Ty >
 _Refwrap_impl (_Ty &_Val)
 
- Public Member Functions inherited from _Call_wrapper< _Callable_obj< _Ty, true >, is_abstract< _Ty >::value >
 _Call_wrapper (typename _Call_wrapper_base< _Callable_obj< _Ty, true > >::_MyTy &_Val)
 
result_of< typename _Callable_obj< _Ty, true >::_MyTy(_Types...)>::type operator() (_Types &&..._Args) const
 
- Public Member Functions inherited from _Call_wrapper_base< _Callable_obj< _Ty, true > >
 _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_obj< _Ty, true > >
_Callable_obj< _Ty, true_Callee
 

Member Typedef Documentation

template<class _Ty>
typedef _Refwrap_impl<_Ty> reference_wrapper< _Ty >::_Mybase
template<class _Ty>
typedef reference_wrapper<_Ty> reference_wrapper< _Ty >::_Myt
template<class _Ty>
typedef _Ty reference_wrapper< _Ty >::type

Constructor & Destructor Documentation

template<class _Ty>
reference_wrapper< _Ty >::reference_wrapper ( _Ty &  _Val)
inline
660  : _Mybase(_Val)
661  { // construct
662  }
_Refwrap_impl< _Ty > _Mybase
Definition: xrefwrap:656
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Ty>
reference_wrapper< _Ty >::reference_wrapper ( const _Myt _Right)
inline
665  : _Mybase(_Right.get())
666  { // construct by copying _Right
667  }
_Refwrap_impl< _Ty > _Mybase
Definition: xrefwrap:656
const _Ty & _Right
Definition: algorithm:4087
template<class _Ty>
reference_wrapper< _Ty >::reference_wrapper ( _Ty &&  )
delete

Member Function Documentation

template<class _Ty>
_Ty& reference_wrapper< _Ty >::get ( ) const
inline
681  { // return reference
682  return (this->_Get());
683  }
_MyCnstTy _Get() const
Definition: xrefwrap:404
template<class _Ty>
reference_wrapper< _Ty >::operator _Ty & ( ) const
inline
676  { // return reference
677  return (this->_Get());
678  }
_MyCnstTy _Get() const
Definition: xrefwrap:404
template<class _Ty>
_Myt& reference_wrapper< _Ty >::operator= ( const _Myt _Right)
inline
670  { // assign _Right
671  this->_Reset(_Right.get());
672  return (*this);
673  }
void _Reset(_MyTy &_Val)
Definition: xrefwrap:399
const _Ty & _Right
Definition: algorithm:4087

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