prevector::assign

Replaces the contents with copies of the elements in the range [first, last).]

Synopsis

Declared in <prevector.h>

template<std::input_iterator InputIterator>
void
assign(
    InputIterator first,
    InputIterator last);

Parameters

NameDescription
firstIterator to the first element to copy.
lastIterator one past the last element to copy.