We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6751dd commit 4e1f6a6Copy full SHA for 4e1f6a6
source/templates.tex
@@ -151,6 +151,20 @@
151
so all specializations of a template belong to the same scope as it does.
152
\end{note}
153
154
+\begin{example}
155
+\begin{codeblock}
156
+void f();
157
+class f; // OK
158
+namespace N {
159
+ void f(int);
160
+}
161
+using N::f; // OK
162
+template<typename> void f(long); // OK
163
+template<typename> void f(long long); // OK
164
+template<> void f<int>(long long); // OK, doesn't bind a name
165
+\end{codeblock}
166
+\end{example}
167
+
168
\pnum
169
\indextext{entity!templated}%
170
An entity is \defn{templated}
0 commit comments