News for hackers. Stuff that matters.
Re:Writing comments about pointer ownership by malkia on Sunday August 23, 2015 @03:40AM (#10104950)
You also need week_ptr, that holds a pointer for a week... just kidding...

But often you need weak_ptr, for caches - where shared_ptr won't free it, and unique_ptr won't allow it to be shared.

There are no comments on this comment yet.