bsl::slist::previous

Return a const iterator to the element preceding __pos.

Synopsis

Declared in <bslstp_slist.h>

const_iterator
previous(const_iterator __pos) const;

Return Value

const iterator to the predecessor of __pos

Parameters

NameDescription
__posposition whose predecessor is sought