ISO/IEC JTC1 SC22 WG21
Jens Maurer <Jens.Maurer@gmx.net>
P0160R0: Wording for removing defaults for unary folds
Upon discussing P0036R0 "Unary Folds and Empty Parameter Packs
(Revision 1)" by Thibaut Le Jehan, EWG resolved to remove the defaults
for empty parameter packs entirely. This paper presents the necessary
wording changes to effect that.
Change in 14.5.3 [temp.variadic] paragraph 9 as follows and remove
table 12 "Value of folding empty sequences".
If N is zero for a unary fold-expression,
the value of the expression
is shown in Table 12; if the operator is not listed in Table 12, the
instantiation is ill-formed.