prevector<36, unsigned char>::assign

assign overloads

Synopses

Declared in <prevector.h>

Replaces the contents with n copies of val.

void
assign(
    size_type n,
    unsigned char const& val);
» more...

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

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

Parameters

NameDescription
nThe number of copies to store.
valThe value to copy into each element.
firstIterator to the first element to copy.
lastIterator one past the last element to copy.