Boost logo

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at