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 >
 _Scoped_base (_Other1 &&_Outer_arg)
 
 _Scoped_base (const _Scoped_base &)=default
 
 _Scoped_base (_Scoped_base &&)=default
 
_Scoped_baseoperator= (const _Scoped_base &)=default
 
_Scoped_baseoperator= (_Scoped_base &&)=default
 
_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
193  : _Outer()
194  { // value-initialize
195  }
template<class _Outer >
template<class _Other1 >
_Scoped_base< _Outer >::_Scoped_base ( _Other1 &&  _Outer_arg)
inline
199  : _Outer(_STD forward<_Other1>(_Outer_arg))
200  { // construct from (outer, inner)
201  // also handles rebinding
202  }
template<class _Outer >
_Scoped_base< _Outer >::_Scoped_base ( const _Scoped_base< _Outer > &  )
default
template<class _Outer >
_Scoped_base< _Outer >::_Scoped_base ( _Scoped_base< _Outer > &&  )
default

Member Function Documentation

template<class _Outer >
inner_allocator_type& _Scoped_base< _Outer >::_Get_inner_object ( _Myadaptor _Self)
inline
182  { // return self as inner_object
183  return (_Self);
184  }
template<class _Outer >
const inner_allocator_type& _Scoped_base< _Outer >::_Get_inner_object ( const _Myadaptor _Self) const
inline
188  { // return self as inner_object
189  return (_Self);
190  }
template<class _Outer >
_Scoped_base& _Scoped_base< _Outer >::operator= ( const _Scoped_base< _Outer > &  )
default
template<class _Outer >
_Scoped_base& _Scoped_base< _Outer >::operator= ( _Scoped_base< _Outer > &&  )
default
template<class _Outer >
_Myadaptor _Scoped_base< _Outer >::select_on_container_copy_construction ( ) const
inline
210  { // make new adaptor
212  static_cast<const _Outer&>(*this))));
213  }
Definition: xmemory0:656
scoped_allocator_adaptor< _Outer > _Myadaptor
Definition: scoped_allocator:177

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