Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

Bad practice to return unique_ptr for raw pointer like ownership semantics?

Can Google Mock a method with a smart pointer return type?

Smart pointers/safe memory management for C?

Dynamic casting for unique_ptr

creating a shared_ptr from unique_ptr

smart pointers and arrays

c++ c++11 smart-pointers

C++11: Replace all non-owning raw pointers with std::shared_ptr()?

std::shared_ptr initialization: make_shared<Foo>() vs shared_ptr<T>(new Foo) [duplicate]

getting a normal ptr from shared_ptr?

"Downcasting" unique_ptr<Base> to unique_ptr<Derived>

When should I use raw pointers over smart pointers?

Why does unique_ptr have the deleter as a type parameter while shared_ptr doesn't?

Why can't a weak_ptr be constructed from a unique_ptr?

How can I use covariant return types with smart pointers?

Should I assign or reset a unique_ptr?

RAII vs. Garbage Collector

Example to use shared_ptr?

When to use shared_ptr and when to use raw pointers?

c++ smart-pointers

Is auto_ptr deprecated?

shared_ptr magic :)