Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in shared-ptr

Deleter type in unique_ptr vs. shared_ptr [duplicate]

How to properly duplicate an object given its shared_ptr

enable_shared_from_this and inheritance

Why is the size of make_shared two pointers?

c++ c++11 shared-ptr

Passing const shared_ptr<T>& versus just shared_ptr<T> as parameter

c++ shared-ptr

Can you use a shared_ptr for RAII of C-style arrays?

c++ raii shared-ptr

Why does libc++'s implementation of shared_ptr use full memory barriers instead of relaxed?

How to avoid memory leak with shared_ptr?

boost Shared_pointer NULL

Does the standard behavior for deleters differ between shared_ptr and unique_ptr in the case of null pointers?

Explicitly deleting a shared_ptr

In gdb, I can call some class functions, but others "cannot be resolved". Why?

Detach a pointer from a shared_ptr? [duplicate]

c++ boost shared-ptr

How does a reference-counting smart pointer's reference counting work?

Create a boost::shared_ptr to an existing variable

What is going on: C++ std::move on std::shared_ptr increases use_count?

Using shared_from_this in templated classes

c++ templates c++11 shared-ptr

Using std::move with std::shared_ptr

Set shared_ptr with new_pointer that is old_pointer + offset

Trivial cases of shared_ptr and weak_ptr failing