bsl::slist::erase

Erase the element at __pos and return the following iterator.

Synopsis

Declared in <bslstp_slist.h>

iterator
erase(iterator __pos);

Return Value

iterator referring to the element after __pos

Parameters

NameDescription
__posposition of the element to erase