
16 May
2008
16 May
'08
4:53 p.m.
Hi, In the first code example in this section: http://www.boost.org/doc/libs/1_35_0/libs/serialization/doc/serialization.ht... there is the following snippet of code: // method 2 : explicitly register base/derived relationship boost::serialization::void_cast_register<derived, base>( static_cast<base *>(NULL), static_cast<derived *>(NULL) ) I believe the two arguments to void_cast_register should be swapped. (first arg is derived*, second arg is base*) Regards, Scott