Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Facebook puts bounties on bugs in the D programming language implementation. Parent comment
1) Stack allocation 2) std::unique_ptr 3) std::shared_ptr
You should be properly thinking about onwership semantics, and unique_ptr should be the default, not shared_ptr.
There are no comments on this comment yet.
1) Stack allocation 2) std::unique_ptr 3) std::shared_ptr
You should be properly thinking about onwership semantics, and unique_ptr should be the default, not shared_ptr.