id summary reporter owner description type status milestone component version severity resolution keywords cc 3856 ambiguities with make_shared() function pointers with C++0x Georg Fritzsche Peter Dimov "Trying to store a function pointer to make_shared results in ambiguity errors in gcc (4.3.) with C++0x support being enabled. The following: typedef boost::shared_ptr(*FP)();[[BR]] FP fp = boost::make_shared; leads to: error: converting overloaded function ‘make_shared’ to type ‘class boost::shared_ptr (*)()’ is ambiguous[[BR]] boost_1_41_0/boost/smart_ptr/make_shared.hpp:100: error: candidates are: boost::shared_ptr boost::make_shared() [with T = int][[BR]] boost_1_41_0/boost/smart_ptr/make_shared.hpp:138: error: boost::shared_ptr boost::make_shared(Args&& ...) [with T = int, Args = ][[BR]] " Bugs closed Boost 1.42.0 smart_ptr Boost 1.41.0 Problem fixed