Function Description
Initializes an instance with the maximum capacity.
Function Prototype
void Init(size_t capacity)
Parameters
| Parameter | Input/Output | Description |
| capacity | Input | Initializes the capacity of the instance. |
Calling Example
size_t capacity = 100U;
size_t total_size = capacity * sizeof(int64_t) + sizeof(ContinuousVector);
auto holder = std::unique_ptr<uint8_t[]>(new (std::nothrow) uint8_t[total_size]);
reinterpret_cast<ContinuousVector *>(holder.get())->Init(capacity); // 100U