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>&) noexcept
Copy constructor.

Public functions

void operator()(Type* ptr) const noexcept
Deletes the object pointed by the given pointer.