tmp/tmpqpp090v3/{from.md → to.md}
RENAMED
|
@@ -62,13 +62,13 @@ void h() {
|
|
| 62 |
// int (*)(bool), Z is deduced to an empty sequence
|
| 63 |
}
|
| 64 |
```
|
| 65 |
|
| 66 |
An empty template argument list can be used to indicate that a given use
|
| 67 |
-
refers to a specialization of a function template even when a
|
| 68 |
-
|
| 69 |
-
For example:
|
| 70 |
|
| 71 |
``` cpp
|
| 72 |
template <class T> int f(T); // #1
|
| 73 |
int f(int); // #2
|
| 74 |
int k = f(1); // uses #2
|
|
|
|
| 62 |
// int (*)(bool), Z is deduced to an empty sequence
|
| 63 |
}
|
| 64 |
```
|
| 65 |
|
| 66 |
An empty template argument list can be used to indicate that a given use
|
| 67 |
+
refers to a specialization of a function template even when a
|
| 68 |
+
non-template function ([[dcl.fct]]) is visible that would otherwise be
|
| 69 |
+
used. For example:
|
| 70 |
|
| 71 |
``` cpp
|
| 72 |
template <class T> int f(T); // #1
|
| 73 |
int f(int); // #2
|
| 74 |
int k = f(1); // uses #2
|