|  | Home | Libraries | People | FAQ | More | 
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]](../../../../doc/src/images/note.png) | 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: | 
 |