insert_after overloads
Declared in <bslstp_slist.h>
Insert __x immediately after __pos and return an iterator to it.
iterator
insert_after(
iterator __pos,
value_type const& __x = _Tp());
» more...
Insert __n copies of __x immediately after __pos.
void
insert_after(
iterator __pos,
size_type __n,
value_type const& __x);
» more...
Insert the specified range immediately after __pos.
template<class _InIter>
void
insert_after(
iterator __pos,
_InIter __first,
_InIter __last);
» more...
iterator referring to the inserted element
| Name | Description |
|---|---|
| __pos | position after which to insert |
| __x | value to insert |
| __n | number of copies to insert |
| __first | beginning of the range to insert |
| __last | end of the range to insert (exclusive) |