On Wed, May 4, 2011 at 7:33 AM, Kirk, Benjamin (JSC-EG311)
<[email protected]> wrote:
> Looking back at our AutoPtr<>, is is a ripoff of the gcc 3.2.1
> implementation to get around some compiler-specific weirdness from many
> years ago. Seems like by now we should be able to rely on std::auto_ptr<>.
>
> What do you think about replacing AutoPtr<> with std::auto_ptr<> throughout
> the code?  Simply typedef'ing std::auto_ptr<> to libMesh::AutoPtr<> should
> be sufficient to allow old user code to still compile...

Sounds good to me.

Or we could wait a few more years until std::shared_ptr<> from C++0x
has built-in (or with -std=c++0x flag) support from all the major
compilers ;)

-- 
John

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to