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

2023-01-15


818. Function parameter packs in non-final positions

Section: 9.3.4.6  [dcl.fct]     Status: CD2     Submitter: US     Date: 3 March, 2009

N2800 comment US 45

[Voted into WP at March, 2010 meeting as part of document N3079.]

9.3.4.6 [dcl.fct] paragraph 13 requires that a parameter pack, if present, must appear at the end of the parameter list. This restriction is not necessary when template argument deduction is not needed and is inconsistent with the way pack expansions are handled. It should be removed.

(See also issue 692.)