|
Boost Users : |
Subject: Re: [Boost-users] crash in boost serialization (1.44)
From: Rico (rico.cadetg_at_[hidden])
Date: 2010-12-13 04:01:26
My program consists of only one Dll which contains all classes and its
serialization code.
I implemented the serialization the way Robert suggested:
in the header:
class mytype {
...
template<class Archive>
serialize(Archive &ar, const unsigned int version);
...};
in the dll
template class::serialize(text_iarchive & ar, const unsigned version){
...
ar << ...
...
};
There is no serialization code in any header.
I just call the serialization from the main program, but there is no duplicated
code.
What do I have to change to avoid the crash?
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