...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::swap
// In header: <boost/property_tree/ptree_fwd.hpp> template<typename K, typename D, typename C> void swap(basic_ptree< K, D, C > & pt1, basic_ptree< K, D, C > & pt2);