3 ms·
You can do that in modern C++, except that you have to create a lambda and assign it to a variable.
by DerekL 3y ago
You can do that in modern C++, except that you have to create a lambda and assign it to a variable.
- mrlonglong 3y agoThat's just syntactic sugar, but yes that works and I had forgotten about lambdas.