Re: custom treemodel?



>> > even cooler if it actually derived from some STL abstract type,
>>
>> What kind of type do you mean exactly? Standard C++ containers are not
>> meant to be used as base classes. They do conform to standard
>> types/requirements, but I think those are just concepts rather than
>> actual
>> classes.
>
> i do this quite often actually. but what i really meant was to derive
> from the abstract classes behind the instances. e.g. Sequence, Container
> etc. rather than vector, list. these are real classes i believe.

No, I don't think so, though it might be vendor-specific:
http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1list.html


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]