|
Schnek
|
The data for a single array allocation. More...
#include <single-array-allocation.hpp>
Public Types | |
| typedef std::function< void(const SizeInfo &)> | UpdaterType |
Public Member Functions | |
| void | addUpdater (void *key, const UpdaterType &updater) |
| void | removeUpdater (void *key) |
| void | update (const SizeInfo &sizeInfo) |
Public Attributes | |
| T * | ptr |
The data for a single array allocation.
This class is used to store the data for a single array allocation. It stores the pointer to the data and a list of updaters. The updaters should be called when the data is resized.