erase overloads

Synopses

Declared in <bslstl_list.h>

Remove the element at position and return an iterator to the next.

Remove the elements in the half‐open range [dstBegin .. dstEnd)].

Return Value

  • iterator to the element following the erased element

  • iterator to the element following the last erased element

Parameters

Name

Description

position

iterator to the element to remove

dstBegin

iterator to the first element to remove

dstEnd

iterator past the last element to remove

Created with MrDocs