nw::ut::MoveArray::MoveArray Constructor
MoveArray(
size_t capacity,
os::IAllocator * allocator,
ArrayKind kind = ARRAY_WRAPPER
);
| Name | Description | |
|---|---|---|
| in | capacity | Number of capacity elements. |
| in | allocator | Allocator. |
| in | kind | Type of memory expansion method. |
Constructor.
This constructor calls on an allocator to allocate memory of the specified size. If kind is set to ARRAY_VARIABILITY, a function for automatically increasing the array size is enabled. Memory is secured internally when the array size is increased automatically. If internal allocation of memory is inappropriate, be sure to set kind to ARRAY_WRAPPER.
CONFIDENTIAL