3 ms·
Please don't! Save that syntax for lambdas instead. It's so much nicer to be able to say x => x + y instead of [&](auto &&x) { return x + y; }
by dataflow 3y ago
Please don't! Save that syntax for lambdas instead. It's so much nicer to be able to say
x => x + y
instead of
[&](auto &&x) { return x + y; }
- legobmw99 3y agoBecause C++ goes through the effort of letting you manually specify capture lists, I suspect they would never introduce a syntax which did not