Re:How to design a replacement for C++
by mathias_10gen on Wednesday July 21, 2010 @10:39PM
(#1537200)
C++0x managed to add closures without adding GC. The only issue is that if you want to the closure to outlive the current stack frame you have to capture by value ([=] rather than [&]) or use a shared_ptr (which is then copied by value).
[ Parent
| on HN ]
There are no comments on this comment yet.