
30 Dec
2008
30 Dec
'08
9:41 p.m.
Hi Igor,
You could define the function as a template that takes "callable" parameter, then pass either boost::function or boost::signal (or a binder with that signal).
The problem is that the function taking the function parameter is a pure virtual, so I can't really use a template function, can I? cheers, Remko