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.