Boost logo

Boost Users :

From: Ioannis Papadopoulos (ipapadop_at_[hidden])
Date: 2008-06-23 01:30:54


Ioannis Papadopoulos wrote:
> Hi,
>
> I want to calculate exactly how much space it is needed to serialize a
> number of objects. What I'm thinking is another class that implements
> the Saving Archive concept and only invokes sizeof() rather than
> actually writing anything.
>
> From what I understand I should overload the << and & operators for
> this class to call save() or serialize() on the object, unless it is a
> POD (in which case the size is already known).
>
> Has this been done before?
>
> Thanks

Please ignore this - it was left in my outbox and sent by accident after
I already had posted a relevant question.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net