Skip to content
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 #704

Closed
elfring opened this issue Sep 18, 2020 · 1 comment
Closed

Improve exception safety with smart pointers #704

elfring opened this issue Sep 18, 2020 · 1 comment

Comments

@elfring
Copy link

elfring commented Sep 18, 2020

Would you like to wrap any pointer data members with the class template “std::unique_ptr”?

Update candidates:

@Christoph-D
Copy link
Contributor

solvespace does not use exceptions: https://github.com/solvespace/solvespace/blob/master/CONTRIBUTING.md#exceptions
So purely from an exception safety point of view this change is unnecessary.

unique_ptr might still be useful for simplicity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants