File tree 2 files changed +23
-4
lines changed
2 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 3602
3602
\indextext {declaration!function}%
3603
3603
\begin {bnf }
3604
3604
\nontermdef {parameter-declaration-clause}\br
3605
- \opt {parameter-declaration-list} \opt {\terminal {...}}\br
3606
- parameter-declaration-list \terminal {,} \terminal {...}
3605
+ \terminal {...}\br
3606
+ \opt {parameter-declaration-list}\br
3607
+ parameter-declaration-list \terminal {,} \terminal {...}\br
3608
+ parameter-declaration-list \terminal {...}
3607
3609
\end {bnf }
3608
3610
3609
3611
\begin {bnf }
3659
3661
argument and are not function parameter packs.
3660
3662
Where syntactically correct and where `` \tcode {...}'' is not
3661
3663
part of an \grammarterm {abstract-declarator},
3662
- `` \tcode {, ...}''
3664
+ `` \tcode {...}''
3663
3665
is synonymous with
3664
- `` \tcode {...}'' .
3666
+ `` \tcode {, ...}'' .
3667
+ A \grammarterm {parameter-declaration-clause}
3668
+ of the form
3669
+ \grammarterm {parameter-declaration-list} \tcode {...}
3670
+ is deprecated.
3665
3671
\begin {example }
3666
3672
The declaration
3667
3673
\begin {codeblock }
Original file line number Diff line number Diff line change 115
115
\end {codeblock }
116
116
\end {example }
117
117
118
+ \rSec 1[depr.ellipsis.comma]{Non-comma-separated ellipsis parameters}
119
+
120
+ A \grammarterm {parameter-declaration-clause}
121
+ of the form
122
+ \grammarterm {parameter-declaration-list} \tcode {...}
123
+ is deprecated.
124
+ \begin {example }
125
+ \begin {codeblock }
126
+ void f(int...); // deprecated
127
+ void g(auto...); // OK, declares a function parameter pack
128
+ void h(auto......); // deprecated
129
+ \end {codeblock }
130
+ \end {example }
118
131
119
132
\rSec 1[depr.array.comp]{Array comparisons}
120
133
You can’t perform that action at this time.
0 commit comments