3 ms·
Then you just fold the comma operator.
by mattnewport 11y ago
Then you just fold the comma operator.
- Camillo 11y agoI don't see how that would help. Maybe we're thinking of different things.
- mattnewport 11y agoYes, sorry, I misunderstood you. You can't use a fold expression to fold a binary function over a parameter pack as far as I know. You can fold application of a unary function using a fold over the comma operator though.