If you need to set a boost shared_ptr to NULL, then you can do it like this:
boost::shared_ptr();
So, if you have a function that returns a boost shared_ptr and you want to pass NULL to represent either an error state or a not-found state, you can do this:
#include
Handy!