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_t< _Dx > _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_t<_Dx> _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
1663  : _Mypair(_One_then_variadic_args_t(), _STD forward<_Dx2>(_Dt), _Ptr)
1664  { // construct with compatible pointer and deleter
1665  }
Definition: xutility:282
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1693
template<class _Ty, class _Dx>
template<class _Ptr2 >
constexpr _Unique_ptr_base< _Ty, _Dx >::_Unique_ptr_base ( _Ptr2  _Ptr)
inline
1670  { // construct with compatible pointer
1671  }
Definition: xutility:278
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1693

Member Function Documentation

template<class _Ty, class _Dx>
pointer& _Unique_ptr_base< _Ty, _Dx >::_Myptr ( )
inline
1684  { // return reference to pointer
1685  return (_Mypair._Get_second());
1686  }
_Ty2 & _Get_second() _NOEXCEPT
Definition: xutility:336
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1693
template<class _Ty, class _Dx>
const pointer& _Unique_ptr_base< _Ty, _Dx >::_Myptr ( ) const
inline
1689  { // return const reference to pointer
1690  return (_Mypair._Get_second());
1691  }
_Ty2 & _Get_second() _NOEXCEPT
Definition: xutility:336
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1693
template<class _Ty, class _Dx>
_Dx& _Unique_ptr_base< _Ty, _Dx >::get_deleter ( )
inline
1674  { // return reference to deleter
1675  return (_Mypair._Get_first());
1676  }
_Ty1 & _Get_first() _NOEXCEPT
Definition: xutility:316
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1693
template<class _Ty, class _Dx>
const _Dx& _Unique_ptr_base< _Ty, _Dx >::get_deleter ( ) const
inline
1679  { // return const reference to deleter
1680  return (_Mypair._Get_first());
1681  }
_Ty1 & _Get_first() _NOEXCEPT
Definition: xutility:316
_Compressed_pair< _Dx, pointer > _Mypair
Definition: memory:1693

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: