
26 Apr
2006
26 Apr
'06
1:20 a.m.
I really see building a path much as you would build an expression template to be evaluated when invoked by the getter. I've been thinking something like:
template<typename Path> ptree ptree::get(Path const& p) { return eval(p, *this); }
This gives total control to the path classes... i haven't think in it before. It maybe be a very nice aproach...