Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-03-01 08:09:30

Peter Dimov wrote:

> A single describe() method doesn't work for the following reasons:
> 1. const correctness.
> 2. read/write assymetry.
> 2a. sequence serialization:
> 2b. versioning. When Complex version 1 is serialized as polar coordinates
> but version 2 is cartesian, read/write are assymetric.

'describe' alone is clearly not enough. It is still usefull. In Jens' code it
is possible to overload 'save'/'load' functions to do whatever you like, but
they default implementation use 'describe'. I suspect that for many classes
'describe' will be sufficient, and I'd like to have it.

- Volodya

Boost list run by bdawes at, gregod at, cpdaniel at, john at