Boost logo

Boost :

From: Andy Little (andy_at_[hidden])
Date: 2006-04-18 13:39:25


"Marcin Kalicinski" <wrote
> Property tree library revision 5 (review version) is now in the boost vault.
> Documentation can be viewed online at http://kaalus.atspace.com/ptree

I dont understand the char_type member typedef of the traits class. The
functions that use it all seeem to be free functions which could change from
e.g

template<class Ptree>
void read_xml(std::basic_istream<typename Ptree::char_type> &stream,
              Ptree &pt,
              int flags = 0);

to

template<class Ptree, class Char>
void read_xml(std::basic_istream<Char> &stream, Ptree &pt,int flags = 0);

without problems. That would remove one level of coupling wouldnt it?

regards
Andy little


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk