
6 Feb
2008
6 Feb
'08
5:41 p.m.
On Feb 6, 2008 11:18 AM, Rene Rivera
You could use the new function_traits library, but that's not in a release yet. Or recreate the type "manually" using the component typedefs in function http://boost.org/doc/html/boost/functionN.html.
I just created my own quick little class for this: template< typename t_fun > class FunctionHolder { public: typedef t_fun type; }; I don't understand why boost::function can't just have the following: *typedef Signature signature_type;* It would be very useful!