Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in shared-ptr

weak_ptr and parent-child cyclic dependencies

In well designed code should you expect locking of weak_ptr to always succeed?

C++: Replace raw pointers with shared and weak ptr

Creating an instance of shared_ptr<std::thread> with make_shared<std::thread>

c++: how to return a shared_ptr from function

c++ function return shared-ptr

Why weak pointer is getting created with shared_ptr?

Strange shared_ptr behaviour

Wrapping linked lists in iterators

c++ boost iterator shared-ptr

shared_ptr not defined when including from managed code

weak_ptr's weird copy constructors

c++ c++11 shared-ptr weak-ptr

QSharedPointer, how to pass them around, and do I need them?

C++11: How is object deleted if it was constructed using make_shared

What are the benefits and risks, if any, of using std::move with std::shared_ptr

What is the error in my shared_ptr declaration?

c++ boost shared-ptr

C++ conversion from to non-scalar type requested

Asio: usage of self shared pointer in the examples

error when defining a std::shared_ptr with new operator

c++ c++11 shared-ptr

How to delete smart pointer to dynamically allocated object?

C++ copy constructor: attempting to reference a deleted function

How C++/Qt - Memory allocation works?