Subject: [Boost-users] simple serialization of boost::variant
From: Archie14 (admin_at_[hidden])
Date: 2010-05-27 17:31:59


I use std::istream and std::ostream for binary serialization ( can't use
boost::serialization) and can't find a way to serialize boost::variant<int,
double, std::string>. I'll appreciate a code sample or link to the
documentation. Thanks.