2 ms·
You don't need to use delete explicitly to control the lifetime of objects in C++. A properly placed "}" or a call to something like .release() can be just as e
by usrnm 6y ago
You don't need to use delete explicitly to control the lifetime of objects in C++. A properly placed "}" or a call to something like .release() can be just as effective. The problem is, there is simply no way to do it in a GC language.
- CyberDildonics 6y agoI think you completely misunderstood what I wrote. I was asking the person I replied to why they needed to use new and delete.