Hi Ishwar, Your question is a general C++ question, and off-topic for this forum. >Is it possible to access b.reset() using a->reset()? Yes. HTH, --Eljay