[serialization] Doc typo?

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

Your correction looks good to me - I'll roll it in. Robert Ramey Scott Howlett wrote:
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
( static_cast (NULL), static_cast (NULL) ) I believe the two arguments to void_cast_register should be swapped. (first arg is derived*, second arg is base*)
Regards, Scott
participants (2)
-
Robert Ramey
-
Scott Howlett