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

Struct template id_translator

boost::property_tree::id_translator — Simple implementation of the Translator concept. It does no translation.

Synopsis

// In header: <boost/property_tree/ptree_fwd.hpp>

template<typename T> 
struct id_translator {

  // public member functions
  boost::optional< T > get_value(const T &);
  boost::optional< T > put_value(const T &);
};

Description

id_translator public member functions

  1. boost::optional< T > get_value(const T & v);
  2. boost::optional< T > put_value(const T & v);

PrevUpHomeNext