-
Notifications
You must be signed in to change notification settings - Fork 285
-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve exception safety with smart pointers #170
Comments
Perhaps when we are willing to require C++11, which is will not be for a while yet, unfortunately. |
How do you think about to reuse the approach by Howard E. Hinnant in the meantime? |
From the link: "unique_ptr.hpp requires a boost header installation, but does not require a compiled boost source." We do provide a minimal boost installation in contrib which is available by default... this class seems like it would be a nice bridge between the current use of AutoPtr in the library and the capabilities that will be provided by C++11. So I think it would be a nice feature, but I don't really have time to implement it personally. |
I'll add a configure test for std::unique_ptr in the meantime... |
Test for unique_ptr added in 7f43d02 |
As of #357, you can configure libmesh with |
Would you like to wrap any pointer data members with the template class "std::unique_ptr"?
Update candidate: DofMap
The text was updated successfully, but these errors were encountered: