64 if ( (--(
p->RefCount)) == 0 )
74 if (
p && (--(
p->RefCount)==0) )
86 if (
p && (--(
p->RefCount)==0) )
99 operator T*() {
return p; }
100 operator const T*()
const {
return p; }
104 if (
p && (--(
p->RefCount)==0) )
117 if (
p && (
p->RefCount > 1) )
RefCountedP(const RefCountedP< T > &pp)
RefCountedP & operator=(T *pp)
RefCountedP< T > & CopyForWrite()
RefCountedP & operator=(const RefCountedP &rhs)