function_traits of bind - functors possible?

19 Nov
2004
19 Nov
'04
5:24 p.m.
Is it possible to use function_traits for functors that have been created with bind? I.e.: template<Function> foo (Function f) { typedef typename boost::function_traits<Function>::type fn_t; boost::signal<fn_t> sig; } .... foo(boost::bind(fobar, this, _1)); Apparently the above does not work, but I cannot figure out what I am missing. Roland
7504
Age (days ago)
7504
Last active (days ago)
0 comments
1 participants
participants (1)
-
Roland Schwarz