Planeshift
|
A simple helper class used to delete an array when it goes out of scope. More...
#include <RecastAlloc.h>
Public Member Functions | |
operator T * () | |
The root array pointer. More... | |
rcScopedDelete () | |
Constructs an instance with a null pointer. More... | |
rcScopedDelete (T *p) | |
Constructs an instance with the specified pointer. More... | |
~rcScopedDelete () | |
A simple helper class used to delete an array when it goes out of scope.
Definition at line 105 of file RecastAlloc.h.
|
inline |
Constructs an instance with a null pointer.
Definition at line 112 of file RecastAlloc.h.
|
inline |
Constructs an instance with the specified pointer.
[in] | p | An pointer to an allocated array. |
Definition at line 116 of file RecastAlloc.h.
|
inline |
Definition at line 117 of file RecastAlloc.h.
|
inline |
The root array pointer.
Definition at line 121 of file RecastAlloc.h.