Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Recast/RecastAlloc.h |
Include |
#include "Recast/RecastAlloc.h" |
template<class T>
class rcScopedStructArrayDelete
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. @note if T doesn't require a destructor to be called use rcScopedDelete instead.
Name | Description | |
---|---|---|
|
rcScopedStructArrayDelete ( |
Constructs an array of instances of T. |
Name | Description | |
---|---|---|
|
~rcScopedStructArrayDelete() |
Name | Description | ||
---|---|---|---|
|
operator T *() |
The root array pointer. |