Re:[boost] [serialization] export macros

13 Aug
2004
13 Aug
'04
3:17 p.m.
Is there an alternative to the macros for registering types? (A sample program exhibiting what I am trying is attached.)
Have you considered using "forward registration" rather than EXPORT? int main() { Status< Algo< int, double > >* p_s = new DerivedStatus< Algo< int, double
;
====> boost::archive::text_oarchive oa(std::cout); oa.boost::archive::register_type( static_cast<DerivedStatus_Algo_int_double *>(NULL) ); oa << p_s; } Robert Ramey
7606
Age (days ago)
7606
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Ramey