Using shared_ptr, a short article
How can I create a shared_ptr? How about a NULL shared_ptr? What if I already have a shared_ptr, that I own, and I want to null it out? Ok, ok. What if I want to null out my shared_ptr and at the same time, replace it with a new instance? How do I check if … Read more