tmp/tmp84xdtyp6/{from.md → to.md}
RENAMED
|
@@ -6,14 +6,13 @@ initializer expression. Overload resolution is used to select the
|
|
| 6 |
conversion function to be invoked. Assuming that “reference to *cv1*
|
| 7 |
`T`” is the type of the reference being initialized, the candidate
|
| 8 |
functions are selected as follows:
|
| 9 |
|
| 10 |
- Let R be a set of types including
|
| 11 |
-
- “lvalue reference to *cv2* `T2`” (when
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
an rvalue reference or an lvalue reference to function)
|
| 15 |
|
| 16 |
for any `T2`. The permissible types for non-explicit conversion
|
| 17 |
functions are the members of R where “*cv1* `T`” is
|
| 18 |
reference-compatible [[dcl.init.ref]] with “*cv2* `T2`”. For
|
| 19 |
direct-initialization, the permissible types for explicit conversion
|
|
|
|
| 6 |
conversion function to be invoked. Assuming that “reference to *cv1*
|
| 7 |
`T`” is the type of the reference being initialized, the candidate
|
| 8 |
functions are selected as follows:
|
| 9 |
|
| 10 |
- Let R be a set of types including
|
| 11 |
+
- “lvalue reference to *cv2* `T2`” (when converting to an lvalue) and
|
| 12 |
+
- “*cv2* `T2`” and “rvalue reference to *cv2* `T2`” (when converting
|
| 13 |
+
to an rvalue or an lvalue of function type)
|
|
|
|
| 14 |
|
| 15 |
for any `T2`. The permissible types for non-explicit conversion
|
| 16 |
functions are the members of R where “*cv1* `T`” is
|
| 17 |
reference-compatible [[dcl.init.ref]] with “*cv2* `T2`”. For
|
| 18 |
direct-initialization, the permissible types for explicit conversion
|