Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

How can I detect or avoid cyclic references with std::shared_ptr?

C++ smart pointers confusion

Compare boost intrusive_ptr with different const-ness

I cannot initialize that shared_ptr of class C

Pushing shared_ptr(this) into vector results in "free(): invalid pointer" error

How to use COM smart pointer as in-out arguments for calling e.g. library functions

c++ com smart-pointers

How memory is deallocated in shared_ptr via the operator=?

Calling shared_ptr object method

c++ smart-pointers

Why don't smart pointers have conversion operator back to the base pointer?

How to overload operator ->* in C++

boost shared_ptr cycling reference?

c++ composition (has-a) issue

Is there a never-null unique owner of heap allocated objects?

In Rust, how does Weak<T> know when the inner value has been dropped?

weak_ptr<User_Class> is none pointer type

c++ boost smart-pointers

Smart pointers with functions returning a pointer in an argument

What stops compilers from automatically deducing to use make_shared?