Boost Users :
From: Richard Jennings (Richard.Jennings_at_[hidden])
Date: 2005-06-13 03:21:32
Thanks for your reply.
I included the void_cast_register call because the base class is not
being serialised by the derived class nor is the derived class being
serialised and hence my understanding was that it was needed in this
It works with the paramaters to void_cast_register swapped.
The include file void_cast.hpp does show the parameters as you state,
however the documentation and examples have them in the order <base,
derived> (special.html). Can I suggest that this is updated please?
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Robert Ramey
Sent: 10 June 2005 16:52
Subject: [Boost-users] Re: Boost.Serialization and Pointers to
void_cast_register should be necessary only in the most unusual cases.
It should happen automatically as part of the "base_object" wrappers
Also it is used void_cast_register<Derived, Base> which is the opposite
you've of what you've done below. So I would remove it from your
The export should make up for this.
There are number of code paths related to borland 5.64 and borland 5.51.
I don't know anything about borland 6. void_cast/export/template
instantiation are areas which many compilers have exhibited unexpected
behavior. So its quite possible that the code as is can't accomodate BC
As far as I know - we've never seen borland 6 or tested it.
So if you want to use any part of boost with a new compiler whose
ancestor has a history of special requirements, you should be prepared
to run the test suite for that compiler. Please do this and post the
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