![]() |
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. | |
| rcScopedDelete (T *p) | |
| Constructs an instance with the specified pointer. | |
| ~rcScopedDelete () | |
| operator T* () | |
| The root array pointer. | |
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.