Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

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?

passing unique_ptr to a function by reference

Smart pointers and parameter list allocation rules

c++ c++11 smart-pointers

How to make deep a copy of shared_ptr?

c++ boost stl smart-pointers

passing smart pointer to a function taking reference to a pointer parameter

c++ smart-pointers

C++11 unique_ptr array and constructor parameters

c++11 stl smart-pointers

Expected a type, got a template

Boost shared_ptr: How to use custom deleters and allocators

c++ boost smart-pointers

Understanding when shared_ptr reference counts are incremented when passing into a function

C++ std:.auto_ptr or std::unique_ptr (to support multiple compilers, even old C++03 compilers)?

c++ c++11 smart-pointers c++03