Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Without the Futex, It's Futile. Parent comment
Map<shared_ptr<obj>> with weak_ptr probably is the best general solution. If the object decided to delete itself the weakptr will be set to null.
There are no comments on this comment yet.
Map<shared_ptr<obj>> with weak_ptr probably is the best general solution. If the object decided to delete itself the weakptr will be set to null.