|
|
|
|
|
by obiterdictum
4587 days ago
|
|
On a related note, I've run into a similar problem in C++, but opposite effect. A lambda won't keep my object alive if I try to capture a shared_ptr member, because C++ lambdas, similarly to blocks, by default capture implicit reference to "this", rather than individual instance variables. http://stackoverflow.com/q/7764564/23643 |
|