目录

Add

Function Description

Adds a ContinuousVector element whose capacity is the value of inner_vector_capacity.

Function Prototype

template<typename T> ContinuousVector *Add(size_t inner_vector_capacity)

Parameters

Parameter Input/Output Description
inner_vector_capacity Input Capacity of the new ContinuousVector element.

Return Value

Start address of the new ContinuousVector element

Restrictions

None

Calling Example

// Create the ContinuousVectorVector object cvv.
// ...
// Add elements.
size_t inner_vector_capacity = 2;
auto cv = cvv->Add(inner_vector_capacity);