3 ms·
There's a way to "iterate" over parameter packs called fold expressions, but they're painful and look very weird.
by foota 2y ago
There's a way to "iterate" over parameter packs called fold expressions, but they're painful and look very weird.
- plorkyeran 2y agoI don't find them painful, but they're definitely extremely weird looking. The fact that they're "fold expressions" but are normally used with operator comma to sequence together things that want to be statements is a pretty strong sign that something went wrong in the design process.