From 453a42b1dcc4022a576d1188e6ece18a743c4ccc Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sun, 24 Nov 2024 05:38:14 +0100 Subject: [PATCH] [depr.ellipsis.comma] Non-comma-separated ellipsis parameters --- source/future.tex | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/future.tex b/source/future.tex index 4eab361bf9..fd726261f3 100644 --- a/source/future.tex +++ b/source/future.tex @@ -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}