Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in shared-ptr

Should I convert shared_ptr to weak_ptr when passed to a method?

c++ shared-ptr

What's the overhead from shared_ptr being thread-safe?

What does "single allocation" mean for boost::make_shared

How do I hand out weak_ptrs to this in my constructor?

c++ c++11 shared-ptr

question on assignment with boost::shared_ptr (vs. the reset() function)

c++ boost shared-ptr

Do I have to use weak_ptr.lock() just to test if it points to a valid object?

c++ shared-ptr weak-ptr

QSharedPointer and QObject::deleteLater

Is there a weak_ptr equivalent to shared_from_this?

Is the state of any standard class after being moved specified?

c++ c++11 shared-ptr

shared_ptr and cyclic references

Cast 'this' to std::shared_ptr

c++ c++11 shared-ptr

C++11 std::shared_ptr<std::ostream> from std::cout

c++ c++11 shared-ptr

C++ static classes & shared_ptr memory leaks

c++ memory-leaks shared-ptr

Wrap dynamic array with shared_ptr by make_shared

Why does one need a null shared_ptr and how can it be used?

Shared pointers and the performance

enable_shared_from_this (c++0x): what am I doing wrong?

Generic way to test if a type is a (smart) pointer

c++ templates shared-ptr

Should I call reset on a weak_ptr if I happen to notice it's expired?

c++ shared-ptr weak-ptr

std::shared_ptr and dlopen(), avoiding undefined behavior