STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
_State_deleter< _Ty, _Alloc > Struct Template Reference
Inheritance diagram for _State_deleter< _Ty, _Alloc >:
_Deleter_base< _Ty >

Public Member Functions

 _State_deleter (_Alloc _Al)
 
 _State_deleter (const _State_deleter &_Other)
 
template<class _Alloc2 >
 _State_deleter (const _State_deleter< _Ty, _Alloc2 > &_Other)
 
void _Delete (_Associated_state< _Ty > *_State)
 
- Public Member Functions inherited from _Deleter_base< _Ty >
virtual ~_Deleter_base () _NOEXCEPT
 

Public Attributes

_Alloc _My_alloc
 

Constructor & Destructor Documentation

template<class _Ty, class _Alloc>
_State_deleter< _Ty, _Alloc >::_State_deleter ( _Alloc  _Al)
inline
256  : _My_alloc(_Al)
257  { // construct with allocator
258  }
_Alloc _My_alloc
Definition: future:276
template<class _Ty, class _Alloc>
_State_deleter< _Ty, _Alloc >::_State_deleter ( const _State_deleter< _Ty, _Alloc > &  _Other)
inline
261  : _My_alloc(_Other._My_alloc)
262  { // copy from _Other
263  }
_Alloc _My_alloc
Definition: future:276
template<class _Ty, class _Alloc>
template<class _Alloc2 >
_State_deleter< _Ty, _Alloc >::_State_deleter ( const _State_deleter< _Ty, _Alloc2 > &  _Other)
inline
267  : _My_alloc(_Other._My_alloc)
268  { // copy from _Other
269  }
_Alloc _My_alloc
Definition: future:276

Member Function Documentation

template<class _Ty, class _Alloc>
void _State_deleter< _Ty, _Alloc >::_Delete ( _Associated_state< _Ty > *  _State)
inlinevirtual

Implements _Deleter_base< _Ty >.

272  { // delete _State using stored allocator
273  _Delete_state(_My_alloc, _State, this);
274  }
void _Delete_state(_Alloc _Al, _Associated_state< _Ty > *_State, _State_deleter< _Ty, _Alloc > *)
Definition: future:544
_Alloc _My_alloc
Definition: future:276

Member Data Documentation

template<class _Ty, class _Alloc>
_Alloc _State_deleter< _Ty, _Alloc >::_My_alloc

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