I'm writing some code in MFC and I want to use auto pointers. I've come across two different classes that look like they do the same thing: CAutoPtr
and std::auto_ptr
What are people's thoughts about the two different implementations?
Further, I know there is std::tr1::shared_ptr
. Is there a similar shared_ptr
that is in ATL/MFC?