@@ -132,9 +132,9 @@ template<<i>container-compatible-range</i><T> R>
132132The complexity is linear in the number of elements inserted plus
133133the lesser of the distances to the beginning and end of the deque.
134134Inserting a single element at either the beginning or end of a deque
135- always takes constant time and causes
136- <del >a single call to a constructor of T</del >
137- <ins >construction of a single object of type `T`</ins >.
135+ always takes constant time and
136+ <del >causes a single call to a constructor of T</del >
137+ <ins >constructs a single object of type `T`</ins >.
138138</p >
139139<p >
140140-3- <i >Remarks</i >:
@@ -218,9 +218,10 @@ linear in `n` and the number of <del>calls to the destructor of</del>
218218<blockquote >
219219<p >
220220-1- <i >Complexity</i >:
221- Insertion of a single element into a list takes constant time and exactly one
221+ Insertion of a single element into a list takes constant time and
222+ <ins >constructs</ins > exactly one
222223<del >call to a constructor of `T`</del >
223- <ins >object of type `T` is constructed </ins >
224+ <ins >object of type `T`</ins >.
224225Insertion of multiple elements into a list is linear in the number of
225226elements inserted and the number of
226227<del >calls to the copy constructor or move constructor of `T`</del >
@@ -270,17 +271,17 @@ using the specified allocator.
270271</p >
271272<p >
272273-10- <i >Complexity</i >:
273- <del >Makes only <i >N</i > calls to the copy constructor of</del >
274- <ins >Initializes exactly <i >N</i > objects of type </ins >
275- `T`
274+ <del >Makes only <i >N</i > calls to the copy constructor of `T` </del >
275+ <ins >Initializes exactly <i >N</i > elements </ins >
276+
276277(where <i >N</i > is the distance between `first` and `last`)
277278and no reallocations if iterators `first` and `last` are of forward,
278279bidirectional, or random access categories.
279280It <del >makes</del > <ins >initializes</ins > order
280281<i >N</i >
281- <del >calls to the copy constructor of</del >
282- <ins >objects of type </ins >
283- `T` and <ins >performs</ins >
282+ <del >calls to the copy constructor of `T` </del >
283+ <ins >elements </ins >
284+ and <ins >performs</ins >
284285order log <i >N</i > reallocations if they are just input iterators.
285286</p >
286287<pre >template< <i >container-compatible-range</i >< T> R>
@@ -297,8 +298,8 @@ successive iterators of `rg`, where <i>N</i> is `ranges::distance(rg)`.
297298Performs no reallocations if `R` models `ranges::forward_range` or
298299`ranges::sized_range`; otherwise, performs order log <i >N</i > reallocations
299300and <ins >initializes</ins > order <i >N</i >
300- <del >calls to the copy or move constructor of</del >
301- <ins >objects of type </ins > `T` .
301+ <del >calls to the copy or move constructor of `T` </del >
302+ <ins >elements </ins >.
302303</p >
303304</blockquote >
304305</li >
0 commit comments