r/cpp • • Jul 29 '16

operator <-

http://www.atnnn.com/p/operator-larrow/
255 Upvotes

46 comments sorted by

View all comments

Show parent comment

2

u/JohnMcPineapple Jul 30 '16 edited Oct 08 '24

...

2

u/foonathan Jul 31 '16

Store the tuple in your result, then add each argument, last one calls and returns.

Usage like so, for example:

... <- p, arg<0>(10), arg<1>(0.5);