On Jan 28, 2013, at 1:06 PM, Roy Stogner <royst...@ices.utexas.edu> wrote:
> Would it be sufficient to make the constructor and > destructor protected? That was my immediate thought, pitfalls? I'm guessing you're closer to this code ATM than I am. If the destructor is protected, only Node and Elem can call it, so a user trying to delete *anything* through a DofObject would be a compile-time no-no, no? -Ben ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel