Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in shared-ptr

What is difference between "owned pointer" and the "stored pointer" for std::shared_ptr?

c++ c++11 shared-ptr

Why is raw pointer to shared_ptr construction allowed in all cases?

c++ pointers c++11 shared-ptr

shared_ptr<> to an array custom deleter (with make_shared)

c++ arrays shared-ptr

Memory order in shared pointer destructor

Avoiding indirect cyclic references when using shared_ptr and weak_ptr

Can I use boost::make_shared with a private constructor?

Pass an object to a function expecting shared_ptr without actually sharing ownership

Is there any situation in which I wouldn't use std::make_shared?

How to avoid the need to specify deleter for std::shared_ptr every time it's constructed or reset?

Is there a reason why std::make_shared/std::make_unique don't use list initialization?

c++ c++11 std shared-ptr

Have I misunderstood the scope of this default argument shared_ptr?

C++ Overloading a Function Based on shared_ptr Derived Class

Are weak pointers guaranteed to have expired by the time the std::shared_ptr deleter runs?

c++ c++11 c++14 shared-ptr

Should I use shared_ptr<Object> myObject = (shared_ptr<Object>) new Object() to access private constructors?

shared_ptr and references in C++

Custom deleters for std::shared_ptrs

Passing a shared_ptr through a C interface that takes void *

c++ sdl shared-ptr

Dereference a rvalue shared_ptr

c++ shared-ptr rvalue

How to prevent anyone from stealing my shared_ptr?

c++ boost shared-ptr ownership

How to add boost to my project?