|
Boost Users : |
Subject: Re: [Boost-users] Serializing a vector containing an unsupported datatype
From: Robert Ramey (ramey_at_[hidden])
Date: 2012-05-12 21:21:25
Tim Burgess wrote:
> Hi,
>
> I have a vector:
>
> Std::vector <std::pair< std::string, wxAny> > myParameters;
This is straight forward
#include <boost/serialization/utility.hpp> // for std::pair
#include <boost/serialization/vector.hpp>
Now all you need is serialization for wxAny. Without seeing
the class wxAny not much more to say. You have to do
this yourself, This will entail looking at the manual and examples.
Sorry about that, it's the best I can do.
Robert Ramey
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