tmp/tmpe2jrbis_/{from.md → to.md}
RENAMED
|
@@ -102,13 +102,13 @@ class D : public B {
|
|
| 102 |
|
| 103 |
— *end example*]
|
| 104 |
|
| 105 |
[*Note 1*:
|
| 106 |
|
| 107 |
-
A specialization of a conversion function template is
|
| 108 |
-
|
| 109 |
-
|
| 110 |
|
| 111 |
[*Example 6*:
|
| 112 |
|
| 113 |
``` cpp
|
| 114 |
struct A {
|
|
@@ -125,11 +125,13 @@ int main() {
|
|
| 125 |
}
|
| 126 |
```
|
| 127 |
|
| 128 |
— *end example*]
|
| 129 |
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
|
|
|
|
|
|
| 133 |
|
| 134 |
— *end note*]
|
| 135 |
|
|
|
|
| 102 |
|
| 103 |
— *end example*]
|
| 104 |
|
| 105 |
[*Note 1*:
|
| 106 |
|
| 107 |
+
A specialization of a conversion function template is named in the same
|
| 108 |
+
way as a non-template conversion function that converts to the same type
|
| 109 |
+
[[class.conv.fct]].
|
| 110 |
|
| 111 |
[*Example 6*:
|
| 112 |
|
| 113 |
``` cpp
|
| 114 |
struct A {
|
|
|
|
| 125 |
}
|
| 126 |
```
|
| 127 |
|
| 128 |
— *end example*]
|
| 129 |
|
| 130 |
+
An expression designating a particular specialization of a conversion
|
| 131 |
+
function template can only be formed with a *splice-expression*. There
|
| 132 |
+
is no analogous syntax to form a *template-id* [[temp.names]] for such a
|
| 133 |
+
function by providing an explicit template argument list
|
| 134 |
+
[[temp.arg.explicit]].
|
| 135 |
|
| 136 |
— *end note*]
|
| 137 |
|