|
Boost : |
From: martin.ecker_at_[hidden]
Date: 2005-06-27 05:37:18
Hi,
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,
Martin
TAB Austria
Haiderstraße 40
4052 Ansfelden
Austria
Phone: +43 7229 78040-218
Fax: +43 7229 78040-209
E-mail: martin.ecker_at_[hidden]
http://www.tab.at
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk