tmp/tmpa38yarx1/{from.md → to.md}
RENAMED
|
@@ -11,11 +11,11 @@ the C++ standard library, unless explicitly stated otherwise.
|
|
| 11 |
address computations and accesses to objects (that would be valid if
|
| 12 |
the pointer did point to the first element of such an array) are in
|
| 13 |
fact valid.
|
| 14 |
- If a function argument is bound to an rvalue reference parameter, the
|
| 15 |
implementation may assume that this parameter is a unique reference to
|
| 16 |
-
this argument, except that the argument passed to a move
|
| 17 |
operator may be a reference to `*this` [[lib.types.movedfrom]].
|
| 18 |
\[*Note 1*: If the type of a parameter is a forwarding reference
|
| 19 |
[[temp.deduct.call]] that is deduced to an lvalue reference type, then
|
| 20 |
the argument is not bound to an rvalue reference. — *end note*]
|
| 21 |
\[*Note 2*: If a program casts an lvalue to an xvalue while passing
|
|
|
|
| 11 |
address computations and accesses to objects (that would be valid if
|
| 12 |
the pointer did point to the first element of such an array) are in
|
| 13 |
fact valid.
|
| 14 |
- If a function argument is bound to an rvalue reference parameter, the
|
| 15 |
implementation may assume that this parameter is a unique reference to
|
| 16 |
+
this argument, except that the argument passed to a move assignment
|
| 17 |
operator may be a reference to `*this` [[lib.types.movedfrom]].
|
| 18 |
\[*Note 1*: If the type of a parameter is a forwarding reference
|
| 19 |
[[temp.deduct.call]] that is deduced to an lvalue reference type, then
|
| 20 |
the argument is not bound to an rvalue reference. — *end note*]
|
| 21 |
\[*Note 2*: If a program casts an lvalue to an xvalue while passing
|