Fold Expressions

Download c++ eBook


Fold Expressions are supported for the following operators


When folding over an empty sequence, a fold expression is ill-formed, except for the following three operators:

OperatorValue when parameter pack is empty

Related Examples


351 Contributors: 8
Friday, October 28, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook