Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
intea
· 7y ago · 0 comments
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.
Comments
[–]
pjmlp
7y ago
C++ has a garbage collection interface API since ISO C++11, it is up to the respective implementation to provide an optional implementation.