Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in unique-ptr

incomplete types with shared_ptr and unique_ptr

Initializing Unique Pointers as a Class Member

When should we use a custom deleter instead of the default deleter in a unique_ptr?

How does the std::unique_ptr&& function argument work? [duplicate]

Clang and gcc getting stuck over overloaded template function

Dereference wrapper for vector of unique_ptr?

Why does the insertion of user defined destructor require an user defined copy constructor

Trouble move-capturing std::unique_ptr in a lambda using std::bind

c++ c++11 lambda unique-ptr

Does Hinnant's unique_ptr implementation incorrectly fail to convert derived-to-base in this case?

c++ unique-ptr

Does unique_ptr swap copy contents?

c++ swap unique-ptr

move from unique_ptr to stack variable

Can a std::unique_ptr be reassigned such that its old value is destroyed *before* the new one is constructed?

What is the right way to pass an array of unique_ptrs?

c++ c++11 unique-ptr

How do I construct an object that has a unique_ptr member?

c++ inheritance unique-ptr

Correct way to claim ownership of existing raw pointer

Return value optimization not working for const unique_ptr member?

Confirmation of thread safety with std::unique_ptr/std::shared_ptr

How to allocate for later placement new "as if by new"

Payload data with aligned unique_ptr

c++ unique-ptr c++20

c++ typeid returns different values for the same unique_ptr with get() and *