
5 Apr
2007
5 Apr
'07
5:05 p.m.
Braddock Gaskill wrote:
Is it possible to do a visit_each on a bind result assigned to a boost::function?
boost::function
func = bind(add, 7, 9); viistor v; visit_each(v, func);
I don't think that it's possible. boost::function<> erases the type of the contained object in a manner that makes the above very hard, if not impossible.