Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2020. The current version is 1.89.0.
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);