GetSize
Function Usage
Obtains the actual number of stored elements.
Prototype
1 | size_t GetSize() const |
Parameters
None
Returns
Actual number of stored elements
Constraints
None
Examples
1 2 3 4 5 6 7 8 | // Create the ContinuousVectorVector object cvv. ... // Add elements. ... auto cv = cvv->add(inner_vector_capacity); ... // Obtain the actual number of stored elements. auto size = cvv->GetSize(); |
Parent topic: ContinuousVectorVector