@@ -132,9 +132,9 @@ template<<i>container-compatible-range</i><T> R>
132
132
The complexity is linear in the number of elements inserted plus
133
133
the lesser of the distances to the beginning and end of the deque.
134
134
Inserting 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 >.
138
138
</p >
139
139
<p >
140
140
-3- <i >Remarks</i >:
@@ -218,9 +218,10 @@ linear in `n` and the number of <del>calls to the destructor of</del>
218
218
<blockquote >
219
219
<p >
220
220
-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
222
223
<del >call to a constructor of `T`</del >
223
- <ins >object of type `T` is constructed </ins >
224
+ <ins >object of type `T`</ins >.
224
225
Insertion of multiple elements into a list is linear in the number of
225
226
elements inserted and the number of
226
227
<del >calls to the copy constructor or move constructor of `T`</del >
@@ -270,17 +271,17 @@ using the specified allocator.
270
271
</p >
271
272
<p >
272
273
-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
+
276
277
(where <i >N</i > is the distance between `first` and `last`)
277
278
and no reallocations if iterators `first` and `last` are of forward,
278
279
bidirectional, or random access categories.
279
280
It <del >makes</del > <ins >initializes</ins > order
280
281
<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 >
284
285
order log <i >N</i > reallocations if they are just input iterators.
285
286
</p >
286
287
<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)`.
297
298
Performs no reallocations if `R` models `ranges::forward_range` or
298
299
`ranges::sized_range`; otherwise, performs order log <i >N</i > reallocations
299
300
and <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 >.
302
303
</p >
303
304
</blockquote >
304
305
</li >
0 commit comments