Skip to content

Commit 48f940d

Browse files
Dawn Perchikburblebee
authored andcommitted
[dcl.fct] Clarify which declarations we're talking about in example.
1 parent 77ed910 commit 48f940d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/declarations.tex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3660,16 +3660,14 @@
36603660
void g3(C3 auto...);
36613661
void g4(C3 auto);
36623662
\end{codeblock}
3663-
3664-
These declarations are functionally equivalent (but not equivalent) to
3665-
the following declarations.
3663+
The declarations above are functionally equivalent (but not equivalent) to
3664+
the following declarations:
36663665
\begin{codeblock}
36673666
template<C1 T, C2 U> void g1(const T*, U&);
36683667
template<C1... Ts> void g2(Ts&...);
36693668
template<C3... Ts> void g3(Ts...);
36703669
template<C3 T> void g4(T);
36713670
\end{codeblock}
3672-
36733671
Abbreviated function templates can be specialized like all function templates.
36743672
\begin{codeblock}
36753673
template<> void g1<int>(const int*, const double&); // OK, specialization of \tcode{g1<int, const double>}

0 commit comments

Comments
 (0)