Skip to content

Commit b1bb828

Browse files
burblebeeDawn Perchik
and
Dawn Perchik
authored
[dcl.fct] Clarify in example which declarations refer to which (#4287)
Co-authored-by: Dawn Perchik <dperchik@embarcadero.com>
1 parent bec4ff5 commit b1bb828

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/declarations.tex

+2-4
Original file line numberDiff line numberDiff line change
@@ -3769,16 +3769,14 @@
37693769
void g3(C3 auto...);
37703770
void g4(C3 auto);
37713771
\end{codeblock}
3772-
3773-
These declarations are functionally equivalent (but not equivalent) to
3774-
the following declarations.
3772+
The declarations above are functionally equivalent (but not equivalent) to
3773+
their respective declarations below:
37753774
\begin{codeblock}
37763775
template<C1 T, C2 U> void g1(const T*, U&);
37773776
template<C1... Ts> void g2(Ts&...);
37783777
template<C3... Ts> void g3(Ts...);
37793778
template<C3 T> void g4(T);
37803779
\end{codeblock}
3781-
37823780
Abbreviated function templates can be specialized like all function templates.
37833781
\begin{codeblock}
37843782
template<> void g1<int>(const int*, const double&); // OK, specialization of \tcode{g1<int, const double>}

0 commit comments

Comments
 (0)