Share this postDaily bit(e) of C++Daily bit(e) of C++ | fold expressionsCopy linkFacebookEmailNotesMoreDaily bit(e) of C++ | fold expressionsDaily bit(e) of C++ #330, Expanding a parameter pack into an expression using C++17 fold expressions.Šimon TóthNov 27, 20232Share this postDaily bit(e) of C++Daily bit(e) of C++ | fold expressionsCopy linkFacebookEmailNotesMoreShareFold expressions (C++17) enable parameter pack expansions as expressions.Fold expression can fold either left or right and allow an optional init expression.Click to open in Compiler Explorer.Leave a commentThanks for reading Daily bit(e) of C++! Subscribe for free to receive new posts and support my work.Subscribe