...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::stream_translator — Implementation of Translator that uses the stream overloads.
// In header: <boost/property_tree/stream_translator.hpp> template<typename Ch, typename Traits, typename Alloc, typename E> class stream_translator { public: // types typedef std::basic_string< Ch, Traits, Alloc > internal_type; typedef E external_type; // construct/copy/destruct explicit stream_translator(std::locale = std::locale()); // public member functions boost::optional< E > get_value(const internal_type &); boost::optional< internal_type > put_value(const E &); };