Skip to content

Commit

Permalink
[depr.ellipsis.comma] Non-comma-separated ellipsis parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Eisenwave committed Nov 24, 2024
1 parent fb5546f commit 453a42b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions source/future.tex
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,19 @@
\end{codeblock}
\end{example}

\rSec1[depr.ellipsis.comma]{Non-comma-separated ellipsis parameters}

A \grammarterm{parameter-declaration-clause}
of the form
\grammarterm{parameter-declaration-list} \tcode{...}
is deprecated.
\begin{example}
\begin{codeblock}
void f(int...); // deprecated
void g(auto...); // OK, declares a function parameter pack
void h(auto......); // deprecated
\end{codeblock}
\end{example}

\rSec1[depr.array.comp]{Array comparisons}

Expand Down

0 comments on commit 453a42b

Please sign in to comment.