Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in 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

Is boost shared_ptr <XXX> thread safe?

dynamic_cast across a shared_ptr?

Why is std::weak_ptr::expired optimized away?

Why is GoogleMock leaking my shared_ptr?

How do smart pointers choose between delete and delete[]?