template<typename Type>
bn::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.