目录

Get

Function Description

Obtains the start address of the indexth element.

Function Prototype

const ContinuousVector *Get(const size_t index) const

Parameters

Parameter Input/Output Description
index Input Element index.

Return Value

Start address of the indexth element

Restrictions

None

Calling Example

// Create the ContinuousVectorVector object cvv.
// ...
// Add elements.
// ...
auto cv = cvv->add(inner_vector_capacity);
// ...
// Obtain the start address of the 0th element.
auto cv1 = cvv->Get(0U);