
29 Dec
2005
29 Dec
'05
7:51 p.m.
Sebastian Redl wrote:
David A. Greene wrote:
What's the best way to do this? typeof?
One option is boost::function, but that would require a bit of refactoring, most likely, and would impose a runtime overhead.
Can you explain how boost::function would help here? boost::function doesn't handle argument binding. Are you suggesting that the Function argument to the Callback template would be a boost::function type? I'm not as concerned about the runtime overhead at the moment but it may become an issue later. -Dave