Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2008-04-02 16:54:30


well, I didn't go through the whole thing. But don't anywhere a variant is
being serialized.

Look at test variant.

Try the following:

typedef boost::variant<int,std::string> my_var_t;
typedef std::vector<my_var_t> my_vector_t;

my_vector_t v;
...

ar << v;

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