From Jason Turner

[any.modifiers]

Diff to HTML by rtfpessoa

tmp/tmpt1w1moxd/{from.md → to.md} RENAMED
@@ -10,13 +10,12 @@ Let `VT` be `decay_t<T>`.
10
  *Constraints:* `is_copy_constructible_v<VT>` is `true` and
11
  `is_constructible_v<VT, Args...>` is `true`.
12
 
13
  *Preconditions:* `VT` meets the *Cpp17CopyConstructible* requirements.
14
 
15
- *Effects:* Calls `reset()`. Then initializes the contained value as if
16
- direct-non-list-initializing an object of type `VT` with the arguments
17
- `std::forward<Args>(args)...`.
18
 
19
  *Ensures:* `*this` contains a value.
20
 
21
  *Returns:* A reference to the new contained value.
22
 
@@ -36,13 +35,12 @@ Let `VT` be `decay_t<T>`.
36
  *Constraints:* `is_copy_constructible_v<VT>` is `true` and
37
  `is_constructible_v<VT, initializer_list<U>&, Args...>` is `true`.
38
 
39
  *Preconditions:* `VT` meets the *Cpp17CopyConstructible* requirements.
40
 
41
- *Effects:* Calls `reset()`. Then initializes the contained value as if
42
- direct-non-list-initializing an object of type `VT` with the arguments
43
- `il, std::forward<Args>(args)...`.
44
 
45
  *Ensures:* `*this` contains a value.
46
 
47
  *Returns:* A reference to the new contained value.
48
 
 
10
  *Constraints:* `is_copy_constructible_v<VT>` is `true` and
11
  `is_constructible_v<VT, Args...>` is `true`.
12
 
13
  *Preconditions:* `VT` meets the *Cpp17CopyConstructible* requirements.
14
 
15
+ *Effects:* Calls `reset()`. Then direct-non-list-initializes the
16
+ contained value of type `VT` with `std::forward<Args>(args)...`.
 
17
 
18
  *Ensures:* `*this` contains a value.
19
 
20
  *Returns:* A reference to the new contained value.
21
 
 
35
  *Constraints:* `is_copy_constructible_v<VT>` is `true` and
36
  `is_constructible_v<VT, initializer_list<U>&, Args...>` is `true`.
37
 
38
  *Preconditions:* `VT` meets the *Cpp17CopyConstructible* requirements.
39
 
40
+ *Effects:* Calls `reset()`. Then direct-non-list-initializes the
41
+ contained value of type `VT` with `il, std::forward<Args>(args)...`.
 
42
 
43
  *Ensures:* `*this` contains a value.
44
 
45
  *Returns:* A reference to the new contained value.
46