Daily bit(e) of C++ | fold expressions
Daily bit(e) of C++ #330, Expanding a parameter pack into an expression using C++17 fold expressions.
Fold expressions (C++17) enable parameter pack expansions as expressions.
Fold expression can fold either left or right and allow an optional init expression.