![]() |
Home | Libraries | People | FAQ | More |
Erase elements from the container.
iterator erase( const_iterator pos);
The element at pos is
removed.
Constant plus linear in std::distance(pos, end())
No-throw guarantee.
|
Name |
Description |
|---|---|
|
|
Iterator to the element to remove |
Iterator following the last removed element. If the iterator pos refers to the last element, the
end() iterator is returned.