Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

Can a std::unique_ptr be reassigned such that its old value is destroyed *before* the new one is constructed?

Where is the reference count of an object typically stored?

c++ smart-pointers

What happens if a object to which a smart pointer is pointing to commits suicide?

c++11 smart-pointers

How to check if a std::unique_ptr is null, if it is in a std::vector?

how this auto_ptr program works and what it does?

Polymorphism with smart pointer

Is it safe to initialize an auto_ptr with a pointer to a derived class?

c++ smart-pointers auto-ptr

Trouble wrapping std::istream, unique_ptr not null after moved

smart pointers - why use them, and which to use?

c++ smart-pointers

Exception thrown while trying to use smart pointers

Compilation error enumerating vector of unique_ptr

When should I use smart pointers?

rust smart-pointers

shared_ptr vs unique_ptr uses in classes and children

c++ smart-pointers

C++ reinterpret_cast of std::shared_ptr reference to optimize

Understanding std::move and unique_ptr

c++ c++11 move smart-pointers

Shared pointers stored in a smart pointer vector inside another object stored in a shared pointer (Shareption)

How to pass NULL or nullptr to a function that receives a unique_ptr argument?

Is it possible to implement a non-owning "slightly smart" pointer on top of standard weak pointers?

c++ smart-pointers

What is the right way to put a smart pointer in class data (as class member) in C++?