#include #include // This should obviously pass if shared_ptr ever supports Boost.Hash. int main() { boost::hash > hash; boost::shared_ptr x(new int(10)); hash(x); }