C++ (Qt)void clear( void ) { mHash.clear(); }
C++ (Qt)void clear( void ) { mHash.clear(); mLive.reset(new int(1)); }
C++ (Qt)bool operator == ( const CWeakPointer & other ) const{ QSharedPointer<T> other2 = other.toStrongRef(); if (other2.isNull()) return false; return *(this->data()) == *(other2.data());}