From: Stefan S. <se...@sy...> - 2004-09-02 22:59:20
|
Grzegorz Jakacki wrote: > > Stefan Seefeld wrote: > >> Finally, I cleaned up the Encoding class such that PTree::Nodes now >> hold >> PTree::Encoding instances instead of 'char *'. > > > Does PTree now need to know about Encoding? yes. In my view Encoding is nothing but a type-safe version of the 'unsigned char *' that already was there before. The stuff that the PTree shouldn't care about should eventually be factored out, possibly into TypeInfo. One of the issues we should address next... Regards, Stefan |