insert overloads
Declared in <absl/container/inlined_vector.h>
Inserts a copy of v at pos, returning an iterator to the newly inserted element.
iterator
insert(
const_iterator pos,
const_reference v);
» more...
Overload of InlinedVector::insert(...) that inserts copies of the elements of list starting at pos, returning an iterator pointing to the first of the newly inserted elements.
iterator
insert(
const_iterator pos,
std::initializer_list<value_type> list);
» more...
Overload of InlinedVector::insert(...) that inserts v at pos using move semantics, returning an iterator to the newly inserted element.
iterator
insert(
const_iterator pos,
value_type&& v);
» more...
Overload of InlinedVector::insert(...) that inserts n contiguous copies of v starting at pos, returning an iterator pointing to the first of the newly inserted elements.
iterator
insert(
const_iterator pos,
size_type n,
const_reference v);
» more...
Overload of InlinedVector::insert(...) that inserts the range [first,] last) starting at pos, returning an iterator pointing to the first of the newly inserted elements.
template<
typename ForwardIterator,
EnableIfAtLeastForwardIterator<ForwardIterator> = 0>
iterator
insert(
const_iterator pos,
ForwardIterator first,
ForwardIterator last);
» more...
Overload of InlinedVector::insert(...) that inserts the range [first,] last) starting at pos, returning an iterator pointing to the first of the newly inserted elements.
template<
typename InputIterator,
DisableIfAtLeastForwardIterator<InputIterator> = 0>
iterator
insert(
const_iterator pos,
InputIterator first,
InputIterator last);
» more...
Overload of InlinedVector::insert(...) that inserts the range [first,] last) starting at pos, returning an iterator pointing to the first of the newly inserted elements.
template<
typename InputIterator,
DisableIfAtLeastForwardIterator<InputIterator> = 0>
iterator
insert(
const_iterator pos,
InputIterator first,
InputIterator last);
» more...
iterator to the newly inserted element.iterator to the first newly inserted element.| Name | Description |
|---|---|
| pos | The position at which to insert. |
| v | The value to copy. |
| list | The initializer list to copy elements from. |
| n | The number of copies to insert. |
| first | An iterator to the beginning of the range. |
| last | An iterator past the end of the range. |