erase overloads

Synopses

Declared in <bslstl_deque.h>

Erase the element at position from this deque.

Erase the half‐open range [first, last)] from this deque.

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 erase

first

iterator to the first element to erase

last

iterator past the last element to erase

Created with MrDocs