3 ms·
The huge majority of c++ programs should not have any form of memory management - either you're managing values and doing it with smart pointers, containers, et
by jcelerier 4y ago
The huge majority of c++ programs should not have any form of memory management - either you're managing values and doing it with smart pointers, containers, etc. as provided by std, boost, absl, folly or whatever, works fine and you never have to type "delete", or you 're managing OOP-ish objects and for this, Qt's hierarchical memory management scheme works great (and I guess is implemented in other toolkits too)