Hacker News new | ask | show | jobs
by michaeldwp 5603 days ago
You can also just make your own CSmartObject base class (which does reference counting), and just have all of your objects inherit from that.

Reference counting may not be built into C++ itself, but it's not super difficult to add in either.