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.
[ Parent
| on HN ]
There are no comments on this comment yet.