Insert __x before __pos and return an iterator to the new element.

Synopsis

Declared in <bslstp_slist.h>

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

Return Value

iterator referring to the inserted element

Parameters

Name

Description

__pos

position before which to insert

__x

value to insert

Created with MrDocs