The array is stored as a linked list of nodes where each node points to some number of elements.
More...
#include <dynamic_array.h>
|
|
TYPE * | data |
| | The array data for this node.
|
| |
|
node * | next |
| | Pointer to the next node in the chain.
|
| |
|
size_t | allocated |
| | The size of this node's data object (in elements).
|
| |
|
std::atomic< size_t > | used |
| | The number of elements in data that are used (always <= allocated).
|
| |
template<typename TYPE>
class JASS::dynamic_array< TYPE >::node
The array is stored as a linked list of nodes where each node points to some number of elements.
◆ node()
Constructor.
- Parameters
-
| pool | [in] The pool allocator used to allocate the data controled by this node. |
| size | [in] The size (in elements) of the data to be controlled by this node. |
The documentation for this class was generated from the following file: