23 Jan
2011
23 Jan
'11
12:30 a.m.
On Jan 21, 2011, at 4:52 PM, Vivek
I am building a library in which users pass in function pointers of any type. I would like the library to determine the function's signature (using function_types), build a fusion vector for the function's arguments, populate the vector with data from a particular source, and then invoke the function using fusion::invoke.
I recommend you study and adapt http://www.boost.org/doc/libs/1_45_0/libs/function_types/example/interpreter... .