$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [serialization] how to serialize boost::function
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-09-15 14:10:24
Emil Dotchevski wrote:
> It looks like the problem has no solution in general. If you know what
> are all possible target types for your function objects, and if all
> target types define op==, then you can pull it off by basically
> searching for all possibilities when you write and recording an ID of
> some sort.
That's pretty much equivalent to what boost::variant does.
Robert Ramey
>
> Emil Dotchevski
> Reverge Studios, Inc.
> http://www.revergestudios.com/reblog/index.php?n=ReCode