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 the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template swap

boost::property_tree::swap

Synopsis

// 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);

Description

Swap two property tree instances.


PrevUpHomeNext