Hi AllIs it possible and practical to use the put and get methods of Boost.PropertyTree with stdalgorithms?I've written this snippet, which doesn't compile, which I think is because I have not correctlyexpressed the return type of "put()". Is it possible to do this?
for_each( boost::begin( v ), boost::end( v ),bind( static_cast<void (ptree::*)( const std::string &, unsigned )>( & ptree::put ), boost::ref( tree ), "Values.value", _1 ) );
static_cast<ptree& (ptree::*)(...)>