目录

GetSize

Function Description

Obtains the actual number of stored elements.

Function Prototype

size_t GetSize() const

Parameters

None

Return Value

Actual number of stored elements

Restrictions

None

Calling Example

// 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();