Check out non-intrusive serialization: http://www.boost.org/doc/libs/1_57_0/libs/serialization/doc/tutorial.html#no... Maybe that will work for you without modifying the class. Mit freundlichen Grüßen / With best regards Andreas Iwanowski - IT Administrator / Software Developer www.awato.de | namezero@afim.info T: +49 (0)2133 26031 55 | F: +49 (0)2133 26031 01 awato Software GmbH | Salm Reifferscheidt Allee 37 | D-41540 Dormagen avisor-Support | T: +49 (0)621 6094 043 | F: +49 (0)621 6071 447 Geschäftsführer: Ursula Iwanowski | HRB: Neuss 7208 | VAT-no.: DE 122796158 -----Original Message----- From: Boost-users [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Merrill Cornish Sent: Sunday, 01 February, 2015 18:41 To: boost-users@lists.boost.org Subject: [Boost-users] boost serialization + boost variant + boost blank 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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users