|
Boost : |
From: christopher diggins (cdiggins_at_[hidden])
Date: 2004-12-30 20:00:13
>> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk