C++ Logo

std-discussion

Advanced search

Re: Sequential containers. Method erase with the iterator returned by end()

From: language.lawyer_at <language.lawyer_at_[hidden]>
Date: Wed, 29 Apr 2020 18:03:51 +0300
On 29/04/2020 17:52, Vladimir Grigoriev via Std-Discussion wrote:
> But looking through sections describing sequential containers I did not find where something is said what happens when the passed iterator is the iterator returned by end().

See
https://timsong-cpp.github.io/cppwp/n4659/sequence.reqmts#tab:containers.sequence.requirements
https://timsong-cpp.github.io/cppwp/n4659/sequence.reqmts#11

Received on 2020-04-29 10:06:53