Question: what is ptree in boost?
Answer: With the class boost::property_tree::ptree , Boost. ... Example 25.1 uses boost::property_tree::ptree to store a path to a directory. This is done with a call to put() . This member function expects two parameters because boost::property_tree::ptree is a tree structure that saves key/value pairs.