Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

Testing if std::pointer_traits can work with my type

std::unique_ptr with custom deleter for wrapping a malloc pointer

Can different smart pointers refer to the same object?

c++ c++11 smart-pointers

Race condition example about shared_ptr

c++ c++11 smart-pointers

When is a std::weak_ptr empty? Is an expired std::weak_ptr empty?

Cyclic reference of RefCell borrows in traversal

gtkmm manage/add vs smart pointers:

Any reason to use raw pointers to do RAII? C++11/14

c++ pointers smart-pointers

Are Rust smart pointers std::rc::Rc and std::sync::Arc analogous to the C++ smart pointers std::shared_ptr and std::atomic_shared_ptr respectively?

c++ rust smart-pointers

Containers vs Smart pointers in C++

Smart references in C++

Factory pattern using unique_ptr in c++

Delphi - Strange behavior with smart pointer constructors

Smart pointers. When, where and how?

c++ smart-pointers

How do I initialize a smart pointer which is a class member?

c++ smart-pointers

Shall I clear a vector of unique_ptr in destructor in c++11 even if valgrind doesn't show memory leak

Why smart pointer type member variable can't be initialized at the declaring place in a class?

shared pointer and raw pointer lifetime

Smart pointers and derived classes

Delete std::shared_ptr without destroying the managed object?