2 ms·
The key difference being that a lambda is an expression, while a block is not, unless you use GCC’s statement-expression syntax of “({…})”.
by evincarofautumn 11y ago
The key difference being that a lambda is an expression, while a block is not, unless you use GCC’s statement-expression syntax of “({…})”.
- catnaroek 11y agoOh, I forgot that, you're absolutely right. I'm getting too used to languages where everything is an expression. :-)