Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

Delphi - Strange behavior with smart pointer constructors

Smart pointers. When, where and how?

c++ smart-pointers

How do I initialize a smart pointer which is a class member?

c++ smart-pointers

Shall I clear a vector of unique_ptr in destructor in c++11 even if valgrind doesn't show memory leak

Why smart pointer type member variable can't be initialized at the declaring place in a class?

shared pointer and raw pointer lifetime

Smart pointers and derived classes

Delete std::shared_ptr without destroying the managed object?

What is going on here?

Why std::make_unique calls copy constructor

What is the cleanest way of defining a no-delete pointer?

c++ c++17 smart-pointers

Why does shared_ptr<int> p; p=nullptr; compile?

Move object from local variable to std::shared_ptr

std::initializer_list and std::make_shared: too many arguments ... 3 expected 0 provided

QCache and QSharedPointer

What's the best way to have a collection of instances of classes all derived from the same base class?

Propagate constness to data pointed by member variables

How do I cast a shared_ptr from one parent class to another parent class?

Assign a dynamically allocated array in a constructor to a unique smart pointer member variable

c++ c++11 smart-pointers

Why can we call reset on null shared_ptr?