[C++-sig] Calling python from c++ with tuple and dict args.

Alex Mohr amohr at pixar.com
Tue Mar 7 02:54:55 CET 2006


Hi folks,

I have a python callable object in C++ (call it 'f') and a tuple and 
dict of arguments (call them 't' and 'd').  In python, I could call f 
like this:

f(*t, **d)

Is there a convenient boost python way to call the python object f like 
this from C++?

Thanks,

Alex



More information about the Cplusplus-sig mailing list