Boost logo

Boost :

From: Russell Hind (rh_gmane_at_[hidden])
Date: 2005-10-14 04:39:17


Vladimir Prus wrote:
>
> What other operator would you suggest?
>
> - "<<" is not good because the library can not just save,
> but also load data
> - ">>" is not good for the same reason
> - Writing
>
> a.serialize(member1).serialize(member2)
>
> is very inconvenient.

I agree. It may not be the most obvious but it allows a single
serialize function rather than explicit save/load functions or chained
calls as you've shown above.

If someone thinks a different operator is more suitable then fine, but I
like the single operator that is present at the moment.

Cheers

Russell


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