Boost logo

Boost :

From: Matias Capeletto (matias.capeletto_at_[hidden])
Date: 2006-04-25 21:20:37


> 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...


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