This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-11-11


1790. Ellipsis following function parameter pack

Section: 9.3.4.6  [dcl.fct]     Status: open     Submitter: Daryle Walker     Date: 2013-10-01     Liaison: EWG

Although the current wording permits an ellipsis to immediately follow a function parameter pack, it is not clear that the <cstdarg> facilities permit access to the ellipsis arguments.

Rationale (June, 2014):

CWG felt that this is a question of language design and thus should be considered by EWG before any action.

EWG 2022-11-11

C23 removes the requirement that the last parameter be named for va_start. This is tracked in github issue cplusplus/papers#1374.

Additional notes (October, 2023)

Paper P2537 (Relax va_start Requirements to Match C) proposes to relax va_start to match C23, tracked via cplusplus/papers#1200.