Boost logo

Boost Users :

Subject: [Boost-users] [Serialization] Changes for implementing archives between 1.39 and 1.40
From: Ioannis Papadopoulos (ipapadop_at_[hidden])
Date: 2009-10-16 20:41:56


Hi,

I'm implementing my own archive (let's say my_archive) for use in
Boost.Serialization.

I'm following
http://www.boost.org/doc/libs/1_40_0/libs/serialization/example/demo_fast_archive.cpp

My archive is implemented in a header file. However, I get undefined
symbols unless I add the following to my source

template class boost::archive::detail::archive_serializer_map<my_archive>;

Am I missing something? Is this the correct way of doing it? I didn't
have to add this prior to Boost 1.40

Thanks


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