|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net