|
Boost Users : |
Subject: [Boost-users] boost serialization + boost variant + boost blank
From: Merrill Cornish (merrill.cornish_at_[hidden])
Date: 2015-02-01 12:40:59
I'm running Boost 1.57.0 using serialization, variant, and boost::blank
with that variant.
I found that when compiled, serialization complains that blank does not
contain a serialize method, which is true.
I made a copy of blank.hpp, called it blank.h, and added
template< class Archive >
void serialize(Archive& ar, const unsigned int version) {}
to the body of struct blank. That made the compiler happy, but is it a
fix in general?
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