GetCapacity
Function Usage
Obtains the maximum number of elements that can be saved.
Prototype
1 | size_t GetCapacity() const |
Parameters
None
Returns
Maximum number of elements that can be saved
Constraints
None
Examples
1 2 3 4 | size_t capacity = 100U; auto cv_holder = ContinuousVector::Create<int64_t>(capacity); auto cv = reinterpret_cast<ContinuousVector *>(cv_holder.get()); auto cap = cv->GetCapacity(); // 100U |
Parent topic: ContinuousVector