Some questions about using BOOST_CLASS_EXPORT_KEY macro of boost.serialization library

Dear all ,
The library version I used was boost_1_42, and the IDE was VS2008 . When I
attempt to use the BOOST_CLASS_EXPORT_KEY macro, I met some problems. In my
word, I think it doesn't work as expected . My project files are listed
following (just five tiny files) :
// Base.h
#ifndef _BASE_H
#define _BASE_H
#include

Igore Dmit. wrote:
2010/2/26 ZouLei
oa << base_ptr ;
I rechecked documentation and I believe it should look like "oa << *base_ptr ;
". Correct me if I'm wrong. You're wrong - where in the documentation does it say this? Robert Ramey

Yes, my fault... should really go to bed. Sorry again, spotted "gps"
examples, and somewhy decided passing by value could help...
2010/2/26 Robert Ramey
Igore Dmit. wrote:
2010/2/26 ZouLei
oa << base_ptr ;
I rechecked documentation and I believe it should look like "oa << *base_ptr ;
". Correct me if I'm wrong.
You're wrong - where in the documentation does it say this?
Robert Ramey
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

But, how can I resolve the problem ? I mean that where is the correct way
to use BOOST_CLASS_EXPORT_KEY/BOOST_CLASS_EXPORT_IMPLEMENT macros ?
2010/2/27 Igore Dmit.
Yes, my fault... should really go to bed. Sorry again, spotted "gps" examples, and somewhy decided passing by value could help...
2010/2/26 Robert Ramey
Igore Dmit. wrote:
2010/2/26 ZouLei
oa << base_ptr ;
I rechecked documentation and I believe it should look like "oa << *base_ptr ;
". Correct me if I'm wrong.
You're wrong - where in the documentation does it say this?
Robert Ramey
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (4)
-
Igore Dmit.
-
Robert Ramey
-
ZouLei
-
邹磊