tmp/tmpmo1jgjvv/{from.md → to.md}
RENAMED
|
@@ -23,12 +23,14 @@ iterators and references to elements of the deque. An insertion at
|
|
| 23 |
either end of the deque invalidates all the iterators to the deque, but
|
| 24 |
has no effect on the validity of references to elements of the deque.
|
| 25 |
|
| 26 |
*Remarks:* If an exception is thrown other than by the copy constructor,
|
| 27 |
move constructor, assignment operator, or move assignment operator of
|
| 28 |
-
`T` there are no effects. If an exception is thrown
|
| 29 |
-
|
|
|
|
|
|
|
| 30 |
|
| 31 |
*Complexity:* The complexity is linear in the number of elements
|
| 32 |
inserted plus the lesser of the distances to the beginning and end of
|
| 33 |
the deque. Inserting a single element either at the beginning or end of
|
| 34 |
a deque always takes constant time and causes a single call to a
|
|
|
|
| 23 |
either end of the deque invalidates all the iterators to the deque, but
|
| 24 |
has no effect on the validity of references to elements of the deque.
|
| 25 |
|
| 26 |
*Remarks:* If an exception is thrown other than by the copy constructor,
|
| 27 |
move constructor, assignment operator, or move assignment operator of
|
| 28 |
+
`T` there are no effects. If an exception is thrown while inserting a
|
| 29 |
+
single element at either end, there are no effects. Otherwise, if an
|
| 30 |
+
exception is thrown by the move constructor of a non-`CopyInsertable`
|
| 31 |
+
`T`, the effects are unspecified.
|
| 32 |
|
| 33 |
*Complexity:* The complexity is linear in the number of elements
|
| 34 |
inserted plus the lesser of the distances to the beginning and end of
|
| 35 |
the deque. Inserting a single element either at the beginning or end of
|
| 36 |
a deque always takes constant time and causes a single call to a
|