|
Boost Users : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2006-10-06 00:53:32
basically this is just two things:
a) a cast of the reference to the current class to the base class
b) an invocation of void_cast to register the relationship between the base
and derived classes.
This latter is used in handling polymorphic pointers.
So you'll have to make your own macro of just insert code which uses
something
other than the "this" pointer.
For more information - look at the definition of the macro and the
documentaion.
Robert Ramey
Deane Yang wrote:
> How do I do:
>
> BOOST_SERIALIZATION_BASE_OBJECT_NVP(my_base_class)
>
> in a non-intrusive serialize function?
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