Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10082,7 +10082,8 @@
\tcode{first}
and
\tcode{last})
and no reallocations if iterators \tcode{first} and \tcode{last} are of forward, bidirectional, or random access categories.
and no reallocations if
\tcode{InputIterator} meets the \oldconcept{ForwardIterator} requirements.
Comment on lines -10085 to +10086
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure whether the change in these lines is desired or editorial. It seems that the old wording can also be interpreted as "[...] if InputIterator meets the Cpp17ForwardIterator requirements or models forward_iterator".

It makes order
$N$
calls to the copy constructor of
Expand Down Expand Up @@ -10385,7 +10386,7 @@
\end{itemize}
For the declarations taking a pair of \tcode{InputIterator},
performs at most one reallocation if
\tcode{InputItera\-tor} models \oldconcept{ForwardIterator}.
\tcode{InputItera\-tor} meets the \oldconcept{ForwardIterator} requirements.
\end{itemdescr}

\indexlibrarymember{erase}{vector}%
Expand Down
Loading