From Jason Turner

[vector.modifiers]

Diff to HTML by rtfpessoa

tmp/tmpa7z_er8y/{from.md → to.md} RENAMED
@@ -17,12 +17,15 @@ void push_back(T&& x);
17
  *Remarks:* Causes reallocation if the new size is greater than the old
18
  capacity. If no reallocation happens, all the iterators and references
19
  before the insertion point remain valid. If an exception is thrown other
20
  than by the copy constructor, move constructor, assignment operator, or
21
  move assignment operator of `T` or by any `InputIterator` operation
22
- there are no effects. If an exception is thrown by the move constructor
23
- of a non-`CopyInsertable` `T`, the effects are unspecified.
 
 
 
24
 
25
  *Complexity:* The complexity is linear in the number of elements
26
  inserted plus the distance to the end of the vector.
27
 
28
  ``` cpp
 
17
  *Remarks:* Causes reallocation if the new size is greater than the old
18
  capacity. If no reallocation happens, all the iterators and references
19
  before the insertion point remain valid. If an exception is thrown other
20
  than by the copy constructor, move constructor, assignment operator, or
21
  move assignment operator of `T` or by any `InputIterator` operation
22
+ there are no effects. If an exception is thrown while inserting a single
23
+ element at the end and `T` is `CopyInsertable` or
24
+ `is_nothrow_move_constructible<T>::value` is `true`, there are no
25
+ effects. Otherwise, if an exception is thrown by the move constructor of
26
+ a non-`CopyInsertable` `T`, the effects are unspecified.
27
 
28
  *Complexity:* The complexity is linear in the number of elements
29
  inserted plus the distance to the end of the vector.
30
 
31
  ``` cpp