Insert __x immediately after __pos and return an iterator to it.

Synopsis

Declared in <bslstp_slist.h>

iterator
insert_after(
    iterator __pos,
    value_type const& __x = _Tp());

Return Value

iterator referring to the inserted element

Parameters

Name

Description

__pos

position after which to insert

__x

value to insert

Created with MrDocs