Vladimir Panteleev: > Can someone please explain to me how this is different and *better* than > the allegedly now-deprecated delete statement?
A std lib function is not set in stone, later it can be improved, modified, etc. > Also, what happens if the object instance was allocated on the stack? I think the GC can tell apart pointers that point to the stack memory and pointers to the GC heap. Bye, bearophile
