
Hi All
Is it possible and practical to use the put and get methods of
Boost.PropertyTree with std
algorithms?
I've written this snippet, which doesn't compile, which I think is because I
have not correctly
expressed the return type of "put()". Is it possible to do this?
Thanks,
- Rob.
#include <algorithm>
#include <vector>
#include
g++ ptree.cpp
ptree.cpp: In function ‘int main()’:
ptree.cpp:15: error: invalid static_cast from type ‘<unresolved overloaded
function type>’ to type ‘boost::property_tree::ptree&
(boost::property_tree::basic_ptree