From: Robert Ramey (ramey_at_[hidden])
Date: 2007-01-04 00:42:16
David Abrahams wrote:
> "Robert Ramey" <ramey_at_[hidden]> writes:
>>> (just call a little stub function in the TU from main()).
>> I can already hear the howling in the distance. If one can do this
>> the it would be just as easy to explcitly the all the derived types
>> at the beginning of an archive and avoid BOOST_CLASS_EXPORT
>> all together.
> Not at all; that couples the archive to the types being serialized,
> and requires one explicit registration (a relatively complicated
> thing) per type being serialized as opposed to one call to a void
> function (simple) per TU including EXPORT.
I'll buy this argument.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk