![]() |
Home | Libraries | People | FAQ | More |
Erase elements from the container.
array::iteratorerase(array::const_iteratorfirst,array::const_iteratorlast) noexcept;
The elements in the range {first, last)
are removed.
Linear in std::distance(first, end())
No-throw guarantee.
|
Name |
Description |
|---|---|
|
|
An iterator pointing to the first element to erase, or pointing to the end of the range. |
|
|
An iterator pointing to one past the last element to erase, or pointing to the end of the range. |
Iterator following the last removed element. If the iterator last refers to the last element, the
end() iterator is returned.