Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

How to remove smart pointers from a cache when there are no more references?

Understanding weak reference counter

c++ c++11 smart-pointers

C++11 make_shared instancing

Understanding C++ std::shared_ptr

Some std::unique_ptr uses and "gotchas"

Can i pass auto_ptr by reference to functions?

c++ smart-pointers auto-ptr

Should I use a smart pointer?

Why is there memory leak while using shared_ptr as a function parameter?

c++ smart-pointers

Unique pointer and const correctness

Should boost::ptr_vector be used in place std::vector all of the time?

What's with unique_ptr::get() instead of &*?

How does std::shared_ptr delete a polymorphic type with protected destructor? [duplicate]

When is a type considered complete?

How do I pass Rc<RefCell<Box<MyStruct>>> to a function accepting Rc<RefCell<Box<dyn MyTrait>>>?

Accessing owner in destructor c++

shared_ptr - pass by value vs pass by reference

c++ boost smart-pointers

Why would I want to use a smart pointer in this situation?

c++ pointers smart-pointers

Using/storing derived member in derived class with base class that stores base member

How do reference-counting smart pointer's avoid or handle reference-counter overflows?

What happens if a shared_ptr's constructor fails?