erase overloads
Declared in <bslstl_multimap.h>
Erase the element at position.
multimap<KEY, VALUE, COMPARATOR, ALLOCATOR>::iterator
erase(const_iterator position);
» more...
Erase the element at position.
multimap<KEY, VALUE, COMPARATOR, ALLOCATOR>::iterator
erase(iterator position);
» more...
Erase all elements whose keys are equivalent to key.
multimap<KEY, VALUE, COMPARATOR, ALLOCATOR>::size_type
erase(key_type const& key);
» more...
Erase all elements matching key.
template<class t_KEY>
size_type
erase(t_KEY&& key)
requires BloombergLP::bslmf::IsTransparentPredicate<COMPARATOR,
t_KEY>::value &&
!is_convertible<BSLS_COMPILERFEATURES_FORWARD_REF(t_KEY),
iterator>::value &&
!is_convertible<BSLS_COMPILERFEATURES_FORWARD_REF(t_KEY),
const_iterator>::value;
» more...
Erase the half-open range [first, last)] from this multimap.
multimap<KEY, VALUE, COMPARATOR, ALLOCATOR>::iterator
erase(
const_iterator first,
const_iterator last);
» more...
last| Name | Description |
|---|---|
| position | iterator to the element to erase |
| key | key whose matching elements are erased |
| first | iterator to the first element to erase |
| last | iterator past the last element to erase |