Reference counting janitor class. More...
#include <xsens_janitors.h>
Static Public Member Functions | |
static void | Deallocate (T *p) |
Deallocates (frees) a pointer to an object. More... | |
Protected Member Functions | |
~JanitorRCDeallocationPolicy_Free () | |
Destructor. More... | |
Reference counting janitor class.
This class can be used to make sure that the associated pointer is freed when the last janitor for it leaves scope.
Definition at line 979 of file xsens_janitors.h.
|
inlineprotected |
Destructor.
Definition at line 993 of file xsens_janitors.h.
|
inlinestatic |
Deallocates (frees) a pointer to an object.
p | The pointer to an object to free |
Definition at line 985 of file xsens_janitors.h.