Used as a std::shared_ptr
deleter (second argument) to overload delete ptr
with delete[] ptr
.
More...
#include <util.h>
Public Member Functions | |
void | operator() (T const *ptr) |
Called by std::shared_ptr when its reference count reaches zero. | |
Used as a std::shared_ptr
deleter (second argument) to overload delete ptr
with delete[] ptr
.
This is necessary for std::shared_ptr
to contain array buffers.
See also
|
inline |
Called by std::shared_ptr
when its reference count reaches zero.