tmp/tmp8e9845fh/{from.md → to.md}
RENAMED
|
@@ -24,11 +24,11 @@ return type can be specified. If a conversion function is a member
|
|
| 24 |
function, the type of the conversion function ([[dcl.fct]]) is
|
| 25 |
“function taking no parameter returning *conversion-type-id*”. A
|
| 26 |
conversion function is never used to convert a (possibly cv-qualified)
|
| 27 |
object to the (possibly cv-qualified) same object type (or a reference
|
| 28 |
to it), to a (possibly cv-qualified) base class of that type (or a
|
| 29 |
-
reference to it), or to (possibly cv-qualified) void.[^
|
| 30 |
|
| 31 |
``` cpp
|
| 32 |
struct X {
|
| 33 |
operator int();
|
| 34 |
};
|
|
|
|
| 24 |
function, the type of the conversion function ([[dcl.fct]]) is
|
| 25 |
“function taking no parameter returning *conversion-type-id*”. A
|
| 26 |
conversion function is never used to convert a (possibly cv-qualified)
|
| 27 |
object to the (possibly cv-qualified) same object type (or a reference
|
| 28 |
to it), to a (possibly cv-qualified) base class of that type (or a
|
| 29 |
+
reference to it), or to (possibly cv-qualified) void.[^2]
|
| 30 |
|
| 31 |
``` cpp
|
| 32 |
struct X {
|
| 33 |
operator int();
|
| 34 |
};
|