I was wondering why shared_ptr doesn\'t have an implicit constructor. The fact it doesn\'t is alluded to here: Getting a boost::shared_ptr for this
shared_ptr
(I f
int main() { int foo = 5; fun(&foo); cout << foo << endl; // ops!! return 0; }