~sp() { cout<<"~sp()"<<endl; if(p) { p->decStrong(); if(p->getStrongCount() == 0) { delete p; p = NULL; } } }