Assign a new value to this vector.

Synopses

Declared in <bslstl_vector.h>

Assign a new value to this vector.

void
assign(std::initializer_list<VALUE_TYPE*> values);

Assign a new value to this vector.

void
assign(
    size_type numElements,
    VALUE_TYPE* value);

Assign a new value to this vector.

template<class INPUT_ITER>
void
assign(
    INPUT_ITER first,
    INPUT_ITER last);

Parameters

Name

Description

values

initializer list of elements

numElements

number of elements to insert or assign

value

element value

first

beginning of the range (inclusive)

last

end of the range (exclusive)

Created with MrDocs