[Serialization] Changes for implementing archives between 1.39 and 1.40

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_ar...
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

you're correct. it's needed now. Robert Ramey Ioannis Papadopoulos wrote:
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_ar...
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
; 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
participants (2)
-
Ioannis Papadopoulos
-
Robert Ramey