libstdc++
|
Public Member Functions | |
constexpr | default_delete () noexcept=default |
template<typename _Up , typename = _Require<is_convertible<_Up*, _Tp*>>> | |
_GLIBCXX23_CONSTEXPR | default_delete (const default_delete< _Up > &) noexcept |
_GLIBCXX23_CONSTEXPR void | operator() (_Tp *__ptr) const |
Primary template of default_delete, used by unique_ptr for single objects.
Definition at line 71 of file unique_ptr.h.
|
constexprdefaultnoexcept |
Default constructor.
|
inlinenoexcept |
Converting constructor.
Allows conversion from a deleter for objects of another type, _Up
, only if _Up*
is convertible to _Tp*
.
Definition at line 84 of file unique_ptr.h.
|
inline |
Calls delete __ptr
Definition at line 89 of file unique_ptr.h.