Erases the element at pos, returning an iterator pointing to where the erased element was located.

Synopsis

Declared in <absl/container/inlined_vector.h>

iterator
erase(const_iterator pos);

Description

NOTE: may return end(), which is not dereferenceable.

Return Value

An iterator to the element that followed the erased element.

Parameters

Name

Description

pos

The position of the element to erase.

Created with MrDocs