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

Public Types

typedef scoped_allocator_adaptor< _Outer > _Myadaptor
 
typedef scoped_allocator_adaptor< _Outer > inner_allocator_type
 

Public Member Functions

inner_allocator_type_Get_inner_object (_Myadaptor &_Self)
 
const inner_allocator_type_Get_inner_object (const _Myadaptor &_Self) const
 
 _Scoped_base ()
 
template<class _Other1 , class _Other2 >
 _Scoped_base (_Other1 &&_Outer_arg, _Other2 &&)
 
template<class _Other >
void operator= (scoped_allocator_adaptor< _Other > &&_Right)
 
template<class _Other >
void operator= (const scoped_allocator_adaptor< _Other > &_Right)
 
_Myadaptor select_on_container_copy_construction () const
 

Member Typedef Documentation

template<class _Outer >
typedef scoped_allocator_adaptor<_Outer> _Scoped_base< _Outer >::_Myadaptor
template<class _Outer >
typedef scoped_allocator_adaptor<_Outer> _Scoped_base< _Outer >::inner_allocator_type

Constructor & Destructor Documentation

template<class _Outer >
_Scoped_base< _Outer >::_Scoped_base ( )
inline
314  { // default construct
315  }
template<class _Outer >
template<class _Other1 , class _Other2 >
_Scoped_base< _Outer >::_Scoped_base ( _Other1 &&  _Outer_arg,
_Other2 &&   
)
inline
321  : _Outer(_STD forward<_Other1>(_Outer_arg))
322  { // construct from (outer, inner)
323  }

Member Function Documentation

template<class _Outer >
inner_allocator_type& _Scoped_base< _Outer >::_Get_inner_object ( _Myadaptor _Self)
inline
303  { // return self as inner_object
304  return (_Self);
305  }
template<class _Outer >
const inner_allocator_type& _Scoped_base< _Outer >::_Get_inner_object ( const _Myadaptor _Self) const
inline
309  { // return self as inner_object
310  return (_Self);
311  }
template<class _Outer >
template<class _Other >
void _Scoped_base< _Outer >::operator= ( scoped_allocator_adaptor< _Other > &&  _Right)
inline
327  { // move from adaptor<_Other>
328  (_Outer&)*this = _STD forward<_Other>((_Other&)_Right);
329  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<class _Outer >
template<class _Other >
void _Scoped_base< _Outer >::operator= ( const scoped_allocator_adaptor< _Other > &  _Right)
inline
333  { // assign from adaptor<_Other>
334  (_Outer&)*this = (_Other&)_Right;
335  }
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<class _Outer >
_Myadaptor _Scoped_base< _Outer >::select_on_container_copy_construction ( ) const
inline
338  { // make new adaptor
341  }
Definition: xmemory0:553
scoped_allocator_adaptor< _Outer > _Myadaptor
Definition: scoped_allocator:298
_Myadaptor select_on_container_copy_construction() const
Definition: scoped_allocator:337

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