Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

How does std::unique_ptr work when it goes out of scope after the object it owns has been manually deleted?

Is it bad (or even dangerous) to random_shuffle vector of shared_ptrs?

Yet Another "pointer being freed was not allocated"

c++ c++11 smart-pointers

Check whether the current underlying type of a std::shared_ptr<> is T

c++ smart-pointers

How do I write generic code that accepts either a trait or a smart pointer to the trait (Box, Rc, etc)?

Does memory get freed when reassigning std::unique_ptr?

Is it possible to use SDL2 with 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?