On Mon, Nov 22, 2010 at 4:43 PM, Roy Stogner <[email protected]> wrote: > > The boost suggestion reminds me of something I meant to bring up on > Friday (before work and vacation packing distracted me): we need to > use some shared_ptr classes. Vikram's doing some work with the > ErrorMap, and looking at that again reminds me how horrible it is to > force manual memory management into non-performance-critical sections > of user code. > > I'd originally planned on writing a SharedPtr wrapper that would hook > to C++0x or to optional boost or to an internal fallback... but maybe > it's time to bite the bullet and just introduce boost as a libMesh > dependency? Other opinions would be appreciated.
Last time I checked, we have shared_ptr.hpp in the contrib/boost directory. Just #include and go for it. Well, you might want to get the latest version, but AFAIK it's just one header file. -- John ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
