$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [serialization] deserializing asynchronouslyserialized types
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-08-30 19:31:20
Andrew Hundt wrote:
> I could also serialize an index or custom headers indicating the next
> type to appear, I would prefer to avoid doing so.
Just use boost::variant. Serialization is already implemented for it
and it effectively does the above. It does a bunch of other stuff
as well which is likely useful for your application.
Robert Ramey