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
292  { // default construct
293  }
template<class _Outer >
template<class _Other1 , class _Other2 >
_Scoped_base< _Outer >::_Scoped_base ( _Other1 &&  _Outer_arg,
_Other2 &&   
)
inline
299  : _Outer(_STD forward<_Other1>(_Outer_arg))
300  { // construct from (outer, inner)
301  }

Member Function Documentation

template<class _Outer >
inner_allocator_type& _Scoped_base< _Outer >::_Get_inner_object ( _Myadaptor _Self)
inline
281  { // return self as inner_object
282  return (_Self);
283  }
template<class _Outer >
const inner_allocator_type& _Scoped_base< _Outer >::_Get_inner_object ( const _Myadaptor _Self) const
inline
287  { // return self as inner_object
288  return (_Self);
289  }
template<class _Outer >
template<class _Other >
void _Scoped_base< _Outer >::operator= ( scoped_allocator_adaptor< _Other > &&  _Right)
inline
305  { // move from adaptor<_Other>
306  (_Outer&)*this = _STD forward<_Other>((_Other&)_Right);
307  }
const _Ty & _Right
Definition: algorithm:4087
template<class _Outer >
template<class _Other >
void _Scoped_base< _Outer >::operator= ( const scoped_allocator_adaptor< _Other > &  _Right)
inline
311  { // assign from adaptor<_Other>
312  (_Outer&)*this = (_Other&)_Right;
313  }
const _Ty & _Right
Definition: algorithm:4087
template<class _Outer >
_Myadaptor _Scoped_base< _Outer >::select_on_container_copy_construction ( ) const
inline
316  { // make new adaptor
319  }
Definition: xmemory0:414
scoped_allocator_adaptor< _Outer > _Myadaptor
Definition: scoped_allocator:276
_Myadaptor select_on_container_copy_construction() const
Definition: scoped_allocator:315

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