4 ms·
C++ does not have garbage collection of any sorts. Objects leave the scope and are destroyed, however the order in which they are destroyed is not defined by th
by intea 8y ago
C++ does not have garbage collection of any sorts. Objects leave the scope and are destroyed, however the order in which they are destroyed is not defined by the standard.
- pjmlp 8y agoC++ has a garbage collection interface API since ISO C++11, it is up to the respective implementation to provide an optional implementation.