Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in unique-ptr

When is it appropriate to use std::optional

Why does std::unique_ptr have an equality operator?

How to prevent clients from passing a nullptr to a constructor?

c++ unique pointer: memory leak

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