<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>P0160R0: Wording for removing defaults for unary folds</title>

<style type="text/css">
  ins { text-decoration:none; font-weight:bold; background-color:#A0FFA0 }
  .new { text-decoration:none; font-weight:bold; background-color:#D0FFD0 }
  del { text-decoration:line-through; background-color:#FFA0A0 }
  strong { font-weight: inherit; color: #2020ff }
  .old { background-color:#ffff40 }
  .old ins { background-color:#a0ff30 }
</style>

</head>

<body>

ISO/IEC JTC1 SC22 WG21<br/>
P0160R0<br/>
Jens Maurer &lt;Jens.Maurer@gmx.net><br/>
2015-10-23

<h1>P0160R0: Wording for removing defaults for unary folds</h1>

<h2>Introduction</h2>

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.

<h2>Wording Changes</h2>

Change in 14.5.3 [temp.variadic] paragraph 9 as follows and remove
table 12 "Value of folding empty sequences".

<blockquote>
If N is zero for a unary fold-expression, <del>the value of the expression
is shown in Table 12; if the operator is not listed in Table 12,</del> the
instantiation is ill-formed.
</blockquote>


</body>

</html>
