bsl::map::erase

Erase the element at position.

Synopsis

Declared in <bslstl_map.h>

map<KEY, VALUE, COMPARATOR, ALLOCATOR>::iterator
erase(iterator position);

Description

Same as the preceding overload, for a non-const iterator.

Return Value

iterator to the element following the erased element

Parameters

NameDescription
positioniterator to the element to erase