#include #include int main() { typedef boost::shared_ptr(*FP)(); FP fp = boost::make_shared; }