Boost logo

Boost Users :

Subject: Re: [Boost-users] [Fusion] Building parameter list for fusion::invoke
From: Nat Goodspeed (nat_at_[hidden])
Date: 2011-01-22 19:30:27


On Jan 21, 2011, at 4:52 PM, Vivek <vivek_at_[hidden]> wrote:

> 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.hpp
  .


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net