Boost logo

Boost Users :

Subject: [Boost-users] [property_tree] number of sections in an inifile
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2012-03-22 10:48:49


Hi:
If I have defined:
boost::property_tree::ptree IniTree;
What is the correct way to determine how many sections there are in an ini file. Should I use count, max_size, m_children or size?
Any help appreciated.
Cheers
Sean.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net