News for hackers. Stuff that matters.
Re:The Myth of Smart Pointers by greiskul on Thursday November 30, 2023 @05:41PM (#38480255)
Yeah, with the QML example, if the programmer instead had used a raw pointer, he would still have a problem. Since if he chose to call free, he would have the same crash that the example had. And if he chose to just never call free, he would have a memory leak.

There are no comments on this comment yet.