$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [serialization] register_type order dependent?
From: Stefan Strasser (strasser_at_[hidden])
Date: 2010-08-27 10:33:17
-> [boost-users]
Zitat von Jeff Flinn <TriumphSprint2000_at_[hidden]>:
> Is it expected that the calls to register_type need to be identical
> on both the save and load side of a serialization exchange?
yes it is. register_type writes class info to your archive, which has
to be read in the same order.
> oa.register_type(static_cast<A*>(0));
oa.register_type<A>();
-Stefan