Boost logo

Boost Users :

Subject: [Boost-users] function pointers and anys
From: Alan Tennant (alan2here_at_[hidden])
Date: 2010-02-19 13:45:47


I created a pointer to a function, I am able to call the function though the
pointer as well as move the pointer, as I would expect.

I put it into a boost::any.
How do I get the pointer out of the any so that I can call it?
I'm having difficulty using the any_cast to do it.



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