Skip to content

Commit 241a8a2

Browse files
Dawn Perchikburblebee
authored andcommitted
[dcl.fct] Clarify which declarations we're talking about in example.
1 parent a912904 commit 241a8a2

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
@@ -3755,16 +3755,14 @@
37553755
void g3(C3 auto...);
37563756
void g4(C3 auto);
37573757
\end{codeblock}
3758-
3759-
These declarations are functionally equivalent (but not equivalent) to
3760-
the following declarations.
3758+
The declarations above are functionally equivalent (but not equivalent) to
3759+
their respective declarations below:
37613760
\begin{codeblock}
37623761
template<C1 T, C2 U> void g1(const T*, U&);
37633762
template<C1... Ts> void g2(Ts&...);
37643763
template<C3... Ts> void g3(Ts...);
37653764
template<C3 T> void g4(T);
37663765
\end{codeblock}
3767-
37683766
Abbreviated function templates can be specialized like all function templates.
37693767
\begin{codeblock}
37703768
template<> void g1<int>(const int*, const double&); // OK, specialization of \tcode{g1<int, const double>}

0 commit comments

Comments
 (0)