insert overloads
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...
An iterator to the inserted element.
| Name | Description |
|---|---|
| pos | Iterator to the position to insert before. |
| value | The value to insert. |
| count | The number of copies to insert. |
| first | Iterator to the first element to insert. |
| last | Iterator one past the last element to insert. |