ptr &r)   {     if(r.reference != nullptr)       r.reference->count++;     if((reference != nullptr) && (r.reference != reference))     {       reference->count--;       if(reference->count <= 0)       {         delete 