Recast Navigation
Navigation-mesh Toolset for Games
|
A simple helper class used to delete an array when it goes out of scope. More...
#include <RecastAlloc.h>
Public Member Functions | |
rcScopedDelete () | |
Constructs an instance with a null pointer. More... | |
rcScopedDelete (T *p) | |
Constructs an instance with the specified pointer. More... | |
~rcScopedDelete () | |
operator T* () | |
The root array pointer. More... | |
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.