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

2024-03-20


1002. Pack expansion for function arguments

Section: 13.7.4  [temp.variadic]     Status: NAD     Submitter: Daniel Krügler     Date: 2009-11-16

The list of contexts in which pack expansions can occur, in 13.7.4 [temp.variadic] paragraph 4, does not include a function call, in spite of the comments in the example there that assume that a function call is such a context.

Rationale (August, 2010):

initializer-list, mentioned in 13.7.4 [temp.variadic], is used in the argument list of a function call.