Boost logo

Boost :

From: Edward Diener (eddielee_at_[hidden])
Date: 2003-12-03 00:40:24


Douglas Paul Gregor wrote:
> I think my ideal interface would have serialize functions looking like
> this:
>
> class Foo : public Bar {
> template<typename Archive>
> static void serialize(Archive& ar, unsigned int version)
> {
> ar("Foo")
> .template base<Bar>()
> .member("x", &Foo::x)
> .member("y", &Foo::y)
> ;

Shouldn't 'version' be in here somewhere ?

> }
>
> int x;
> float* y;
> };


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk