Get
Function Usage
Obtains the start address of the indexth element.
Prototype
1 | const ContinuousVector *Get(const size_t index) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Element index. |
Returns
Start address of the indexth element
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 start address of the 0th element. auto cv1 = cvv->Get(0U); |
Parent topic: ContinuousVectorVector