Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

Pointers and containers

Why does incomplete type of smart pointer data member and raw pointer data member have different behavior when their parent destruct?

c++ c++11 smart-pointers

Why does assignment operator call constructor?

C++11 smart pointers and polymorphism

Smart pointers - cases where they cannot replace raw pointers

c++ smart-pointers

vector<unique_ptr> resizing with push_back - how does it work?

C++ Iterating through a vector of smart pointers

c++ stl vector smart-pointers

Using unique_ptr to control a file descriptor

Why can't a smart pointer call new() for me in its constructor?

smart pointers + "this" considered harmful?

Can storing unrelated data in the least-significant-bit of a pointer work reliably?

How do I wrap a C++ function that returns a smart pointer in C?

c++ c wrapper smart-pointers

Smart pointers as map key

Dependency injection in C++11 without raw pointers

std::make_unique<T> vs reset(new T)

Do boost::shared_ptr<T> and boost::shared_ptr<const T> share the reference count?

scoped_ptr ownership [duplicate]

c++ smart-pointers

Printing unique_ptr to cout

Array of polymorphic objects

Is there an operation for Rc or Arc which clones the underlying value and returns it to the caller?