[Please do not mail me a copy of your followup] boost-users@lists.boost.org spake the secret code <911E9779-6F81-4420-AC3D-BF023FDBB358@flashpixx.de> thusly:
Hello,
I have got a a C library function call, which defines a function: typedef int (*CFunction) (State* K);
So I would like to use boost::bind / boost::function to create the binding to a class method:
boost::function<CFunction>( boost::bind(&MyClass::myMethod, this) )
What happens if you try: boost::function<int *(State *)>(boost::bind(...))? -- "The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline> The Computer Graphics Museum <http://computergraphicsmuseum.org> The Terminals Wiki <http://terminals.classiccmp.org> Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>