Boost logo

Boost Users :

Subject: [Boost-users] Property Tree with boost:any
From: Olivier Tristan (o.tristan_at_[hidden])
Date: 2012-12-11 10:35:39


Hello,

I'm trying to use a property tree with a boost::any like in
custom_data_type.cpp from the examples folder.
So far, so good.

My only issue arise when I'm trying to use write_json from json_parser.
I understand that boost::any do not provide direct conversion to
something that can be written into a stream, but I was wondering if
there is a way to provide some conversion function
just like it's done for get and put inside the property tree itself.

Thanks !

-- 
UVI <http://www.uvi.net/>
Olivier Tristan| Research & Development
o.tristan_at_[hidden]
Facebook <http://www.facebook.com/UVI.Official> Twitter 
<http://twitter.com/UVIofficial> Youtube 
<http://www.youtube.com/user/UVIofficial> SoundCloud 
<http://soundcloud.com/uvi-official> Blog UVI <http://blog.uvi.net/>



UVI.jpg
UVI_FB.jpg
UVI_TW.jpg
UVI_YT.jpg
UVI_SC.jpg
UVI_BLOG.jpg

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net