#include <TDestructor.h>
Public Member Functions | |
virtual void | destruct (void *ptr) const |
Function that deletes an object of this type from memory. |
Implementation of the destructor base class for a given type
This template implementation is used to delete objects of any given type from memory, for which we don't have a dictionary.
void xAOD::TDestructor< T >::destruct | ( | void * | ptr | ) | const [inline, virtual] |
Function that deletes an object of this type from memory.
The function just assumes that the pointer given to it is a valid pointer of type T, and deletes the object behind the pointer accordingly.
ptr | A pointer to an object of type T |
Implements xAOD::TVirtualDestructor.