Boost logo

Boost :

From: martin.ecker_at_[hidden]
Date: 2005-06-27 05:37:18


Martin Slater wrote:
>> ar << *this; // I can't imagine what this if for
> Is this going to break with the new release? I use this idiom quite a
> lot and would hate to have to hack the boost source immediately 1.33 is
> released.

Same here. We use it for the same reasons. For example, we have some
classes that expose a load and save member function, which internally
uses Boost.Serialization, something like:

void my_class:save()
        my_archive ar(some_stream);
        ar << *this;

Best Regards,

TAB Austria
Haiderstraße 40
4052 Ansfelden
Phone: +43 7229 78040-218
Fax: +43 7229 78040-209
E-mail: martin.ecker_at_[hidden]

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