C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: Sequential containers. Method erase with the iterator returned by end()
From: language.lawyer_at_[hidden]
Date: 2020-04-29 10:03:51


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


STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups