TrinityCore
|
#include <RecastAlloc.h>
Public Member Functions | |
rcScopedDelete () | |
Constructs an instance with a null pointer. More... | |
rcScopedDelete (T *p) | |
~rcScopedDelete () | |
operator T * () | |
Private Member Functions | |
T * | operator= (T *p) |
Private Attributes | |
T * | ptr |
A simple helper class used to delete an array when it goes out of scope.
|
inline |
Constructs an instance with a null pointer.
|
inline |
Constructs an instance with the specified pointer.
[in] | p | An pointer to an allocated array. |
|
inline |
|
inline |
The root array pointer.
|
inlineprivate |
|
private |