I would like to store function pointers in a boost::variant type. This is clear to me, including the creation and use of a visitor object. In the documentation of boost::variant I've stumbled on boost::visitor_ptr. The documentation gives the impression that this could simplify using the stored pointers to execute my functions. Unfortunately, there is no example or any additional documentation, and the tests in the boost source distribution do not include any code relating to boost::visitor_ptr.
Google shoots a blank. Could someone please elucidate the use of boost::visitor_ptr, if possible with a simple example?