News for hackers. Stuff that matters.
Re:Friendship ended with the garbage collector by jonv on Friday August 27, 2021 @12:45PM (#28330007)
Not sure what you mean here, std::unique_ptr is for when you want to auto destruct a ptr when going out of scope (ref counting limited to one) and std::shared_ptr is normal reference counting, they aren't alternatives to each other but specific things for specific situations?

There are no comments on this comment yet.