Open Lighting Architecture
Latest Git
|
Deletes an array when it goes out of scope.
This is similar to unique_ptr<T[]>, which we should switch to once we start introducing C++11 syntax.
Public Member Functions | |
ArrayDeleter (const uint8_t *data) | |
Create a new ArrayDeleter. More... | |
~ArrayDeleter () | |
Destructor. More... | |
|
inlineexplicit |
Create a new ArrayDeleter.
data | The data to wrap. |
|
inline |
Destructor.
This calls delete[] on the data.