tmp/tmpcb44tcre/{from.md → to.md}
RENAMED
|
@@ -23,13 +23,12 @@ variable template, a class template, a member of a class template, or a
|
|
| 23 |
member template. An explicit specialization declaration is introduced by
|
| 24 |
`template<>`. In an explicit specialization declaration for a variable
|
| 25 |
template, a class template, a member of a class template, or a class
|
| 26 |
member template, the variable or class that is explicitly specialized
|
| 27 |
shall be specified with a *simple-template-id*. In the explicit
|
| 28 |
-
specialization declaration for a function template
|
| 29 |
-
|
| 30 |
-
specified using a *template-id*.
|
| 31 |
|
| 32 |
[*Example 1*:
|
| 33 |
|
| 34 |
``` cpp
|
| 35 |
template<class T = int> struct A {
|
|
|
|
| 23 |
member template. An explicit specialization declaration is introduced by
|
| 24 |
`template<>`. In an explicit specialization declaration for a variable
|
| 25 |
template, a class template, a member of a class template, or a class
|
| 26 |
member template, the variable or class that is explicitly specialized
|
| 27 |
shall be specified with a *simple-template-id*. In the explicit
|
| 28 |
+
specialization declaration for a function template, the function
|
| 29 |
+
explicitly specialized may be specified using a *template-id*.
|
|
|
|
| 30 |
|
| 31 |
[*Example 1*:
|
| 32 |
|
| 33 |
``` cpp
|
| 34 |
template<class T = int> struct A {
|