3 ms·
Wow that's interesting. Never realized lambdas capture "this" and not the actual data members itself! That also means you can get in big trouble if the object
by iam 15y ago
Wow that's interesting. Never realized lambdas capture "this" and not the actual data members itself!
That also means you can get in big trouble if the object that got captured was deleted, ouch.
- ajross 15y agoThis is why Lisp never had manual allocation. It's a booby trap for a new generation, kind of like the collision between heap allocation and exceptions was in our youth.