Subject: Re: [boost] [serialization] problems implementing free-standing functions
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-03-02 13:35:16
FWIW, I still stumple into the problem that you can't serialize
a non-const object. This happens even for something as simple as
serializing an int.
I thought you had replaced this behavior with a sort of warning instead?
If I would be to use the library for teaching or otherwise, I would just
be littering my code with
<< ... ( as_const(x) )
and if I do so, I probably don't get any help to track down the problems
you claim this prevents.
Is it not posssible to turn this feature into a debugging aid, rather
than something that is enabled by default? I'm thinking that the cost of
the current strategy very much out-weights its benefits :-(.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk