A type of a deleter object used with smart pointers to a raw memory block allocated using the global ::operator new function. When the managed memory is released these smart pointers call ::operator delete to perform the cleanup. More...
#include <chsvmem.h>
Classes | |
struct | rebind |
Defines an instance of the deleter template for other types of values. More... | |
Public Member Functions | |
raw_delete_t ()=default | |
Default constructor. | |
raw_delete_t (const raw_delete_t &)=default | |
Copy constructor. | |
raw_delete_t (raw_delete_t &&)=default | |
Move constructor. | |
template<class U > | |
raw_delete_t (const raw_delete_t< U > &) | |
template<class U > | |
raw_delete_t (raw_delete_t< U > &&) | |
void | operator() (element_t *ptr) |
Deleting operator. | |
A type of a deleter object used with smart pointers to a raw memory block allocated using the global ::operator new function. When the managed memory is released these smart pointers call ::operator delete to perform the cleanup.
element_t | is a type of an element which the managed pointers point to. |
Example: