A simple helper class used to delete an array of instances of structs, that require cleaning up by calling destructor on every instance before release. 更多...
#include <RecastAlloc.h>
Public 成员函数 | |
| operator T* () | |
| The root array pointer. 更多... | |
| rcScopedStructArrayDelete (const int n) | |
| Constructs an array of instances of T | |
A simple helper class used to delete an array of instances of structs, that require cleaning up by calling destructor on every instance before release.
Releasing is taking place when rcScopedStructArrayDelete instance goes out of scope.
|
inline |
The root array pointer.