Used as a std::shared_ptr
deleter (second argument) to overload delete ptr
with nothing (no dereferencing).
More...
#include <kernel-dispatch.h>
Public Member Functions | |
void | operator() (T const *ptr) |
Called by std::shared_ptr when its reference count reaches zero. More... | |
Used as a std::shared_ptr
deleter (second argument) to overload delete ptr
with nothing (no dereferencing).
This could be used to pass borrowed references with the same C++ type as owned references.
See also
|
inline |
Called by std::shared_ptr
when its reference count reaches zero.