boost::interprocess::operator==
template<typename T, typename VP> bool operator==(intrusive_ptr< T, VP > const & a, const typename intrusive_ptr< T, VP >::pointer & b);
Returns a.get() == b. Does not throw