Quantcast
Channel: Cpp11 – On C++ and other OOPscenities
Viewing all articles
Browse latest Browse all 23

C++: Smart pointers, part 3: More on unique_ptr

$
0
0
Ok, here I am going to write about two other features that unique_ptr has that I did not mention in my last post. unique_ptr default behavior consists on take ownership of a pointer created with new and that would normally be released with delete. That is because the main unique_ptr declaration is: The template class […]

Viewing all articles
Browse latest Browse all 23

Trending Articles