Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in unique-ptr

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 *

unique_ptr - invalid pointer and segfault

How can I compile C++11 code with Orwell Dev-C++?

c++ c++11 unique-ptr dev-c++

difference between new int[100] and new int[100]();

How to convert a std::vector of unique pointers to a std::span of raw pointers?

Using std::unique_ptr with std::istream?

c++ c++11 stl unique-ptr istream

Deleting derived classes in std::unique_ptr<Base> containers

How to pass NULL or nullptr to a function that receives a unique_ptr argument?

How to assign value to the unique_ptr after declaring it?

Is it possible to pass a lambda with captured non-copyable (moved) value?

c++ lambda c++14 unique-ptr

Unable to std::format std::vector<std::unique_ptr<int>> in C++