News for hackers. Stuff that matters.
Re:C++ by Example by TillE on Thursday September 22, 2022 @12:56PM (#32941565)
Yeah I literally have not had a single memory leak since I started using unique_ptr and shared_ptr everywhere.

I have had a couple resource leaks with C APIs, though even they could have been avoided with unique_ptr and a custom deleter.

There are no comments on this comment yet.