Open Lighting Architecture
0.9.6
|
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. | |
~ArrayDeleter () | |
Destructor. |
|
inlineexplicit |
Create a new ArrayDeleter.
data | The data to wrap. |
|
inline |
Destructor.
This calls delete[] on the data.