
6 Dec
2005
6 Dec
'05
4:01 p.m.
one other thing... inside section "Runtime casting" there's 2nd method for registering derived class: boost::serialization::void_cast_register
(); it seems that it was changed or something, but it doesn't work for me. vc ide shows that this function expects 2 arguments. I also tried to call it this way: boost::serialization::void_cast_register (this,this); but it also didn't seem to work i use boost 1.33.0
whoops, your right the documentation is out of sync with the code.
Look into test_void_cast for hot its used. In your case try:
The correct function prototype is:
void_cast_register