Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

Usage of Smart Pointers as a Programming Standard?

How to compile c++11 code with android ndk and eclipse?

How can I create a smart pointer that locks and unlocks a mutex?

How to return vector of pointers (and ownership) C++11

Why and when do I need to supply my own deleter?

c++ smart-pointers

Why can operator-> be overloaded manually?

Is there any reason to use auto_ptr?

Pointer to stack object without ownership

Is there a bug in GCC 4.7.2's implementation of shared_ptr's (templated) assignment operator?

c++ gcc stl c++11 smart-pointers

Create shared_ptr to stack object

Why doesn't shared_ptr permit direct assignment

Observer pattern using weak_ptr

c++ c++11 std smart-pointers

The correct way of returning std::unique_ptr to an object of polymorphic class

unique_ptr and polymorphism

c++ c++11 smart-pointers

What does std::make_unique_for_overwrite() do vis-a-vis std::make_unique()?

c++ smart-pointers c++20

Reassigning Smart Pointers

using custom deleter with unique_ptr

c++ smart-pointers

Is it OK to derive from std::enable_shared_from_this and an abstract base class?

c++ smart-pointers

Move ownership from std::shared_ptr to std::unique_ptr

When should we use std::enable_shared_from_this