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