Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in unique-ptr

unique_ptr to a derived class as an argument to a function that takes a unique_ptr to a base class

How to pass std::unique_ptr around?

c++ c++11 unique-ptr

Does unique_ptr::release() call the destructor?

c++ unique-ptr

Why can a T* be passed in register, but a unique_ptr<T> cannot?

Why use std::make_unique in C++17?

c++ c++17 unique-ptr

error::make_unique is not a member of ‘std’

Why is shared_ptr<void> legal, while unique_ptr<void> is ill-formed?

How to declare std::unique_ptr and what is the use of it?

c++ pointers std unique-ptr

Does C++11 unique_ptr and shared_ptr able to convert to each other's type?

Copy constructor for a class with unique_ptr

c++ c++11 unique-ptr

How can I pass std::unique_ptr into a function

c++ c++11 unique-ptr

Advantages of using std::make_unique over new operator [duplicate]

c++ c++14 unique-ptr

How do I use a custom deleter with a std::unique_ptr member?

Differences between std::make_unique and std::unique_ptr with new

Using smart pointers for class members

std::auto_ptr to std::unique_ptr

make_unique and perfect forwarding

std::unique_ptr with an incomplete type won't compile

Why can I not push_back a unique_ptr into a vector?

Is std::unique_ptr<T> required to know the full definition of T?