|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-04-21 08:42:00
"Marcin Kalicinski" <kalita_at_[hidden]> writes:
> One reason that parser functions _must_ be in property_tree namespace is
> Koenig lookup, e.g.:
>
> boost::property_tree::ptree pt;
> read_xml("x.xml", pt); // Koenig lookup here
>
> Lookup above obviously relies on read_xml being in the same namespace as
> ptree.
Why is it important to be able to call read_xml without qualification?
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk