
31 Dec
2004
31 Dec
'04
1 a.m.
Python does it too. It's not neccessarily wrong for other languages; just C++.
hmm.... If C++ had implemented an 'Object' back in 1980, then "single rooted heirachy"s wouldn't be questioned...
This is precisely why I brought up the Boost Interfaces Library in my earlier post. We can have every class comptaible with IObject without having to inherit from other classes, and without virtual functions. This provides all of the advantages of a single rooted hierarchy without any of the disadvantages. I already have an object oriented primitive library which leverages this functionality. See http://www.ootl.org/objects.html Christopher Diggins http://www.cdiggins.com