Search code examples
How to create a new value and assign to a private unique_ptr in a class constructor?...


c++c++11smart-pointersunique-ptr

Read More
Problem with std::unique_ptr and dangling pointer...


c++c++17shared-ptrsmart-pointersunique-ptr

Read More
Understanding C++ make shared pointer with const arguments...


c++c++11boostsmart-pointers

Read More
Strange behavior when passing a cable captures `std::initializer_list<std::shared_ptr<Conversa...


c++c++11boost-asiosmart-pointers

Read More
What is a smart pointer and when should I use one?...


c++pointersc++11smart-pointersc++-faq

Read More
Unexpected Order of Destructor Calls with std::shared_ptr and std::weak_ptr in C++...


c++c++11destructorsmart-pointers

Read More
How do I cast a shared_ptr from one parent class to another parent class?...


c++inheritanceshared-ptrsmart-pointers

Read More
A unique_ptr defined as base class then cast in as derived class...


c++classinheritancesmart-pointers

Read More
Getting object with a unique_ptr member from a std::map()...


c++classconstructorsmart-pointersstdmap

Read More
How to return a unique_ptr reference to a const type...


c++smart-pointers

Read More
segfaults in C++ when using std::shared_ptr...


c++pointersfunction-pointersshared-ptrsmart-pointers

Read More
Will a default-constructed (empty) shared_ptr automatically be initialized to nullptr?...


c++c++11smart-pointers

Read More
Build error of "No matching constructor for initialization" when initialize share_ptr<T...


c++smart-pointersmingw-w64ownership-semantics

Read More
SIGSEGV when trying to solve large mazes with A*...


c++pointerssegmentation-faultshared-ptrsmart-pointers

Read More
How to move unique_ptr to raw pointer?...


c++pointerssmart-pointers

Read More
How to return smart pointers and covariance in C++...


c++inheritanceconstructorsmart-pointers

Read More
pushing a unique_ptr into a vector of variant unique_ptr...


c++smart-pointersmove-semanticsvariant

Read More
How can I use covariant return types with smart pointers?...


c++covariancesmart-pointers

Read More
Is returning a reference to a managed memory a malpractice?...


c++smart-pointers

Read More
When to use shared_ptr and when to use raw pointers?...


c++smart-pointers

Read More
Weak pointer library implementation C++...


c++shared-ptrsmart-pointersweak-ptrrefcounting

Read More
Why does the Rust compiler drop unused variables in the reverse order they were declared?...


rustmemory-managementsmart-pointers

Read More
Is it possible to use a C++ smart pointers together with C's malloc?...


c++mallocnew-operatorsmart-pointers

Read More
How to Implement operator-> for a Custom UniquePtr Class in C++?...


c++pointersoperator-overloadingoperatorssmart-pointers

Read More
Why would I std::move an std::shared_ptr?...


c++c++11shared-ptrsmart-pointersmove-semantics

Read More
Data race in the code snippet mentioned in other SO which read/write could not be invoked in the sam...


c++multithreadingc++11smart-pointers

Read More
Race condition example about shared_ptr...


c++c++11smart-pointers

Read More
How to get smart pointers' address...


c++pointerssmart-pointers

Read More
What is the difference between how references and Box<T> are represented in memory?...


rustreferencesmart-pointers

Read More
LLDB: Set breakpoint on std::shared_ptr<T> destructor...


c++stdshared-ptrsmart-pointerslldb

Read More
BackNext