![]() |
Atoms Crowd
7.0.0
|
#include <RecastAlloc.h>
Public Member Functions | |
| rcScopedDelete () | |
| Constructs an instance with a null pointer. | |
| rcScopedDelete (int n) | |
| rcScopedDelete (T *p) | |
| operator T* () | |
| bool | resizeGrow (int n) |
| resize and copy existing memory (n = element count), doesn't destruct elements! | |
A simple helper class used to delete an array when it goes out of scope.
|
inline |
Constructs an instance with the specified pointer.
| [in] | p | An pointer to an allocated array. |
|
inline |
The root array pointer.