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 #2

Open
elfring opened this issue Feb 28, 2014 · 1 comment
Open

Improve exception safety with smart pointers #2

elfring opened this issue Feb 28, 2014 · 1 comment
Assignees

Comments

@elfring
Copy link

elfring commented Feb 28, 2014

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

Update candidate: MCDirector

@rtc-draper
Copy link
Collaborator

The LLVM-way is to use OwningPtr - http://llvm.org/docs/doxygen/html/classllvm_1_1OwningPtr.html

Pre-github we had done that with this class, but we removed it (for bad reasons, IIRC). Marked to be fixed.

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

2 participants