
21 Apr
2006
21 Apr
'06
12:42 p.m.
"Marcin Kalicinski" <kalita@poczta.onet.pl> 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