prevector<36, unsigned char>::insert

insert overloads

Synopses

Declared in <prevector.h>

Inserts value before pos and returns an iterator to the inserted element.

iterator
insert(
    iterator pos,
    unsigned char const& value);
» more...

Inserts count copies of value before pos.

void
insert(
    iterator pos,
    size_type count,
    unsigned char const& value);
» more...

Inserts the elements of the range [first, last) before pos.]

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

Return Value

An iterator to the inserted element.

Parameters

NameDescription
posIterator to the position to insert before.
valueThe value to insert.
countThe number of copies to insert.
firstIterator to the first element to insert.
lastIterator one past the last element to insert.