Based on his online FAQ answers, I daresay Stroustrup thinks that garbage collection does have its uses in C++, at least as a last resort. Consider the last paragraph of his answer to How do I deal with memory leaks?:
He does not condemn garbage collection, but states in his answer to Why doesn't C++ have garbage collection?:Quote:
Originally Posted by Bjarne Stroustrup
That FAQ links to Hans-J. Boehm's GC implementation that SevenThunders mentioned.Quote:
Originally Posted by Bjarne Stroustrup