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 753c833 commit 85525b1Copy full SHA for 85525b1
source/declarations.tex
@@ -216,8 +216,9 @@
216
A \grammarterm{nodeclspec-function-declaration} shall declare a
217
constructor, destructor, or conversion function.
218
\begin{note}
219
-A \grammarterm{nodeclspec-function-declaration} can only be used in a
220
-\grammarterm{template-declaration}\iref{temp.pre},
+Because a member function cannot be subject to a non-defining declaration
+outside of a class definition\iref{class.mfct}, a \grammarterm{nodeclspec-function-declaration}
221
+can only be used in a \grammarterm{template-declaration}\iref{temp.pre},
222
\grammarterm{explicit-instantiation}\iref{temp.explicit}, or
223
\grammarterm{explicit-specialization}\iref{temp.expl.spec}.
224
\end{note}
0 commit comments