From Jason Turner

[any.assign]

Diff to HTML by rtfpessoa

tmp/tmpff5pmjzl/{from.md → to.md} RENAMED
@@ -16,15 +16,15 @@ contained value.
16
  any& operator=(any&& rhs) noexcept;
17
  ```
18
 
19
  *Effects:* As if by `any(std::move(rhs)).swap(*this)`.
20
 
21
- *Returns:* `*this`.
22
-
23
  *Ensures:* The state of `*this` is equivalent to the original state of
24
  `rhs`.
25
 
 
 
26
  ``` cpp
27
  template<class T>
28
  any& operator=(T&& rhs);
29
  ```
30
 
 
16
  any& operator=(any&& rhs) noexcept;
17
  ```
18
 
19
  *Effects:* As if by `any(std::move(rhs)).swap(*this)`.
20
 
 
 
21
  *Ensures:* The state of `*this` is equivalent to the original state of
22
  `rhs`.
23
 
24
+ *Returns:* `*this`.
25
+
26
  ``` cpp
27
  template<class T>
28
  any& operator=(T&& rhs);
29
  ```
30