3 ms·
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 countin
by michaeldwp 16y 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.