Re: [Boost-users] Serialization: docs regarding abstract base class
Since the demo doesn't use BOOST_EXPORT, I
suspect that
that there is some sort of problem related to instantiation of abstract base
class code
for exported types. I'lll look into it.
If you can look into it, thank you, Robert.
I have finished the organization of my (big) project serialization into separate files for each class, and now everything is working fine ! :)
However, I still have the problem that every time I use a std::vector of pointers, and serialize it as such, there is a compile time error, since extended_type_info for the std::vector is not defined. This is a bug since type info should not matter here.
My workaround was to use a
BOOST_CLASS_TYPE_INFO(std::vector< ClassPointedTo *>, extended_type_info_no_rtti< std::vector< ClassPointedTo *> >)
everytime such a vector occurs.
However, if you can look into this problem and fix it, Robert, this would appreciated. I could then remove my workaround code, which makes my code ugly :)
Jean-Noël
-----Message d'origine-----
De : boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] De la part de Robert Ramey
Envoyé : jeudi 2 mars 2006 03:49
À : boost-users@lists.boost.org
Objet : Re: [Boost-users] Serialization: docs regarding abstract base class
Note that the tutorial programs do use BOOST_IS_ABSTRACT so I've always
assumed that
it functions as advertised. Since the demo doesn't use BOOST_EXPORT, I
suspect that
that there is some sort of problem related to instantiation of abstract base
class code
for exported types. I'lll look into it.
Robert Ramey
"RIVASSEAU Jean Noel"
participants (1)
-
RIVASSEAU Jean Noel