Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

What is C++20 std::atomic<shared_ptr<T>> and std::atomic<weak_ptr<T>>? [duplicate]

Multiple instances holds a reference to a unique_ptr

Is there a good C++ memory management tutorial available, that covers shared_ptr, scoped_ptr, and weak_ptr? [duplicate]

Using smart pointers as a class member

Shared_pointer showing different behaviour than the one i read in text book

c++ stl smart-pointers

How to delete instance of persistent object when last client has finished

Safe reference in C++ (single-ownership pointer with notify semantics)

Pointer casts for itk::SmartPointer?

Using placement new for a polymorphic unique_ptr

Shared resource ownage using std::weak_ptr

Wrapping smart pointers with method replacement

Why do unique_ptr have two functions reset and operator= that do similar things but not overload?

Which shared pointer should be weak pointer in a ring or a cycle

boost smart pointer with custom deleter

c++ boost smart-pointers

What are the reasons for passing a pointers to a shared_ptr to a function?

C++,runtime error: member call on null pointer of type

Best practice for std::auto_ptr

c++ smart-pointers

Pimpl idiom using shared_ptr working with incomplete types