STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
_Unique_ptr_base< _Ty, _Dx > Class Template Reference
Inheritance diagram for _Unique_ptr_base< _Ty, _Dx >:
unique_ptr< _Ty, _Dx > unique_ptr< _Ty[], _Dx >

Public Types

typedef remove_reference< _Dx >::type _Dx_noref
 
typedef _Get_deleter_pointer_type< _Ty, _Dx_noref >::type pointer
 

Public Member Functions

template<class _Ptr2 , class _Dx2 >
 _Unique_ptr_base (_Ptr2 _Ptr, _Dx2 &&_Dt)
 
template<class _Ptr2 >
constexpr _Unique_ptr_base (_Ptr2 _Ptr)
 
_Dx & get_deleter () _NOEXCEPT
 
const _Dx & get_deleter () const _NOEXCEPT
 
pointer_Myptr () _NOEXCEPT
 
const pointer_Myptr () const _NOEXCEPT
 

Public Attributes

_Compressed_pair< _Dx, pointer_Mypair
 

Member Typedef Documentation

template<class _Ty, class _Dx>
typedef remove_reference<_Dx>::type _Unique_ptr_base< _Ty, _Dx >::_Dx_noref
template<class _Ty, class _Dx>
typedef _Get_deleter_pointer_type<_Ty, _Dx_noref>::type _Unique_ptr_base< _Ty, _Dx >::pointer

Constructor & Destructor Documentation

template<class _Ty, class _Dx>
template<class _Ptr2 , class _Dx2 >
_Unique_ptr_base< _Ty, _Dx >::_Unique_ptr_base ( _Ptr2  _Ptr,
_Dx2 &&  _Dt 
)
inline
1241  : _Mypair(_One_then_variadic_args_t(), _STD forward<_Dx2>(_Dt), _Ptr)
1242  { // construct with compatible pointer and deleter
1243  }
Definition: xutility:259
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1271
template<class _Ty, class _Dx>
template<class _Ptr2 >
constexpr _Unique_ptr_base< _Ty, _Dx >::_Unique_ptr_base ( _Ptr2  _Ptr)
inline
1248  { // construct with compatible pointer
1249  }
Definition: xutility:255
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1271

Member Function Documentation

template<class _Ty, class _Dx>
pointer& _Unique_ptr_base< _Ty, _Dx >::_Myptr ( )
inline
1262  { // return reference to pointer
1263  return (_Mypair._Get_second());
1264  }
_Ty2 & _Get_second() _NOEXCEPT
Definition: xutility:313
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1271
template<class _Ty, class _Dx>
const pointer& _Unique_ptr_base< _Ty, _Dx >::_Myptr ( ) const
inline
1267  { // return const reference to pointer
1268  return (_Mypair._Get_second());
1269  }
_Ty2 & _Get_second() _NOEXCEPT
Definition: xutility:313
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1271
template<class _Ty, class _Dx>
_Dx& _Unique_ptr_base< _Ty, _Dx >::get_deleter ( )
inline
1252  { // return reference to deleter
1253  return (_Mypair._Get_first());
1254  }
_Ty1 & _Get_first() _NOEXCEPT
Definition: xutility:293
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1271
template<class _Ty, class _Dx>
const _Dx& _Unique_ptr_base< _Ty, _Dx >::get_deleter ( ) const
inline
1257  { // return const reference to deleter
1258  return (_Mypair._Get_first());
1259  }
_Ty1 & _Get_first() _NOEXCEPT
Definition: xutility:293
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1271

Member Data Documentation

template<class _Ty, class _Dx>
_Compressed_pair<_Dx, pointer> _Unique_ptr_base< _Ty, _Dx >::_Mypair

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