on-internet
← Community

Some std::unique_ptr uses and "gotchas"

Stack Overflow ·

What are some of C++11 std::unique_ptr uses and gotchas? Can I use std::unique_ptr also to store dynamically allocated arrays? Can I use std::unique_ptr also with resources using a custom deletion mechanism?

Comments

Sign in or sign up to comment and upvote.

No comments yet.