Get

Description

Obtains the start address of the indexth element.

Prototype

const ContinuousVector *Get(const size_t index) const

Parameters

Parameter

Input/Output

Description

index

Input

Element index.

Returns

Start address of the indexth element

Restrictions

None

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