15 Sep
2009
15 Sep
'09
6:10 p.m.
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