Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in unique-ptr

C++ array of char using unique_ptr

c++ c++11 unique-ptr

What's wrong to reset std::unique_ptr to pointer to array?

Does std::unique_ptr set its underlying pointer to nullptr inside its destructor?

c++ unique-ptr nullptr

Returning a unique_ptr<T> . Concept clarification

simple structs with make_unique and emplace_back

c++ unique-ptr emplace

Smart pointers - unique_ptr for a stack-allocated variable

C++ Vector of unique pointers practice

Will the original object get deleted if I return a unique_ptr?

c++ unique-ptr

Referring to a "std::unique_ptr" that you don't own (use a raw pointer?)

Is it dangerous to have a cast operator on a unique_ptr?

c++ c++11 unique-ptr

vector<unique_ptr<A> > using initialization list

Correct usage of unique_ptr in class member

c++ c++11 c++14 unique-ptr

Using unique_ptr instead of shared_ptr in BST

C++ shared_ptr vs. unique_ptr for resource management

Why shouldn't I use shared_ptr and unique_ptr always and instead use normal pointers?

c++ shared-ptr unique-ptr

Pointer to unique_ptr - is this a loophole?

c++ unique-ptr

Example of memory leak in c++ (by use of exceptions) [duplicate]

How to insert elements into a multidimensional vector of unique pointers?

How to make a class with a member of unique_ptr work with std::move and std::swap?

c++ unique-ptr

Possible bug in unique_ptr implementation [duplicate]

c++ c++11 unique-ptr