Fold (higher-order function): Difference between revisions

Content deleted Content added
Uni3993 (talk | contribs)
JChMathae (talk | contribs)
m In various languages: Removing 'function". In C++17, Fold expression are for ALL variadic templates, either classes, functions or variables...
Line 192:
| <code>(''pack'' ''op'' ...)</code>
|
| Fold expression (only for variadic function templates): ''op'' is a binary operator (both ''op''s must be the same, e.g., {{code|2=cpp|(std::cout << ... << args)}}), ''pack'' is an unexpanded parameter pack.
 
|- style="vertical-align: top;"