|
Boost Users : |
Subject: Re: [Boost-users] [Property Message] How to store variant in property tree
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2012-12-21 05:33:40
On 21.12.2012 08:27, Elizabeta wrote:
> Hi
> I want to store variant object in my property tree. The variant for
> now will have only 3dPoint object, but it should vary multiple types
> in future.
> I tried the following code , and I am getting compiler errors. I know
> that maybe I need to write some kind of translation code for this to
> work,but don't know how to do that exactly and having hard time to
> grasp the concept. So how can I do this if possibly at all ? A code
> example would be great
The serializations of property_tree are not tested for tree's that don't
use some basic_string instantiation as key and value type. It's very
likely that they just don't work. Sorry.
This is somewhere on my plans for the future, but don't hold your breath.
Sebastian
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