
27 Jun
2005
27 Jun
'05
10:37 a.m.
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@tab.at http://www.tab.at