Hacker News new | past | comments | ask | show | jobs | submit login

C++ has deterministic garbage collection.



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.


C++ has a garbage collection interface API since ISO C++11, it is up to the respective implementation to provide an optional implementation.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: