Sign in to follow this  
Solid_Spy

Boost 1.5 with XML Why u no have ptree!?

Recommended Posts

Ok, so for some effing reason. The new Boost libraries seem to have changed the xml loader libraries.

 

I can't seem to find the Ptree class anywhere. For example, if I type:

 

boost::property_tree::ptree ptree1;

 

I get an error, and I looked inside of the property_tree namespace, and ptree appears to be missing.

 

There are tutorials like this one: http://www.boost.org/doc/libs/1_42_0/doc/html/boost_propertytree/tutorial.html

 

However, this doesn't apply to the later versions. I am suprised nobody has written a topic about this yet. How do you read in an xml file using Boost Property_tree!?

Edited by Solid_Spy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this