3 ms·
you can get '_1 * _2' to work. Whether you want to is another story :D More seriously, even something like "(x,y) => x*y" would be nice. edit: I forgot that I
by gpderetta 3y ago
you can get '_1 * _2' to work. Whether you want to is another story :D
More seriously, even something like "(x,y) => x*y" would be nice.
edit: I forgot that I managed to make the $(x, y)(x*y) syntax work a few years ago when trying to emulate constexpr lambdas:
https://github.com/gpderetta/libtask/blob/master/lambda.cpp https://github.com/gpderetta/libtask/blob/master/lambda.cpp