#include <bn_unique_ptr_fwd.h>
template<typename Type>
default_delete struct
Default deleter.
Template parameters | |
---|---|
Type | Type of the object to delete. |
Constructors, destructors, conversion operators
- default_delete() defaulted constexpr
- Default constructor.
-
template<typename OtherType>default_delete(const default_
delete<OtherType>&) constexpr noexcept - Copy constructor.
Public functions
- void operator()(Type* ptr) const constexpr noexcept
- Deletes the object pointed by the given pointer.