Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-11-24 01:26:19


or you just do:

#include <boost/serialization/variant.hpp>

Merrill Cornish wrote:
> If I have a boost::variant data member I want to serialize, it looks
> like I'm going to have to use boost::static_visitor and
> boost::apply_visitor in the serialize() method. However, there is
> some black magic going on
> with the
>
> ar & dataMember;
>
> statements. Any pointers as to how I do it?
>
> Merrill


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