3 ms·
Qt code uses 'new' extensively because Qt components take ownership of components and manage memory allocation automatically.
by geezerjay 7y ago
Qt code uses 'new' extensively because Qt components take ownership of components and manage memory allocation automatically.
- hellofunk 7y agoWhat you describe is still common practice in the language, but the mechanisms no longer use a new or delete to achieve that.