...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::property_tree::save
// In header: <boost/property_tree/ptree_serialization.hpp> template<typename Archive, typename K, typename D, typename C> void save(Archive & ar, const basic_ptree< K, D, C > & t, const unsigned int file_version);
Serialize the property tree to the given archive.
Note | |
---|---|
In addition to serializing to regular archives, this supports serializing to archives requiring name-value pairs, e.g. XML archives. However, the output format in the XML archive is not guaranteed to be the same as that when using the Boost.PropertyTree library's |
Parameters: |
|
||||||
Postconditions: |
|