3 ms·
yes, closures are implied. lambda's are almost useless without closures being included.
by zbowling 15y ago
yes, closures are implied. lambda's are almost useless without closures being included.
- artsrc 15y agoI think the difference between capturing values at call time and full closures only matters if you are mutating variables, which my closures rarely do, since my code is fairly functional'ish, so for me it does not matter.
- zokier 15y agoI'm more familiar with C++ lambdas, and in those you must specify how you will capture variables (no capturing, by reference, by value, or some mix of those).