File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 72007200\rSec3[forward.list.modifiers]{Modifiers}
72017201
72027202\pnum
7203- None of the overloads of \tcode{insert_after} shall affect the validity of iterators and
7204- references, and \tcode{erase_after} shall invalidate only iterators and references to
7205- the erased elements. If an exception is thrown during \tcode{insert_after} there shall
7206- be no effect. Inserting \tcode{n} elements into a \tcode{forward_list} is linear in
7203+ The member functions in this subclause
7204+ do not affect the validity of iterators and references
7205+ when inserting elements, and
7206+ when erasing elements
7207+ %FIXME: This sentence hard to parse. Rewrite, or add a comma here and emply bullets.
7208+ invalidate iterators and references to the erased elements only.
7209+ If an exception is thrown by any of these member functions
7210+ there is no effect on the container.
7211+ Inserting \tcode{n} elements into a \tcode{forward_list} is linear in
72077212\tcode{n}, and the number of calls to the copy or move constructor of \tcode{T} is
72087213exactly equal to \tcode{n}. Erasing \tcode{n} elements from a \tcode{forward_list} is
72097214linear in \tcode{n} and the number of calls to the destructor of type \tcode{T} is
You can’t perform that action at this time.
0 commit comments