Search code examples
Weak pointer library implementation C++...


c++shared-ptrsmart-pointersweak-ptrrefcounting

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


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

Read More
Casting smartpointers without RTTI C++...


c++castingembeddedshared-ptrrtti

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


c++stdshared-ptrsmart-pointerslldb

Read More
Future is not returning reference to value in C++...


c++multithreadingc++11shared-ptr

Read More
How does a weak_ptr prevent cyclic references?...


c++c++11shared-ptrweak-ptrcyclic-reference

Read More
boost, shared ptr Vs weak ptr? Which to use when?...


c++memory-managementboostshared-ptrweak-ptr

Read More
boost::shared_ptr boost::mutex and copy constructor...


c++boostmutexshared-ptrcopy-constructor

Read More
How can I use std::enable_shared_from_this in both super and subclass?...


c++shared-ptrmultiple-inheritanceweak-ptrenable-shared-from-this

Read More
Clarification on Properly Shutting Down a Boost Beast Server...


c++boost-asioshared-ptrdestructorboost-beast

Read More
C++11 unordered_set with std::owner_less-like hashing...


c++c++11stlshared-ptrunordered-map

Read More
How to cast my custom shared pointer in C++...


c++shared-ptrsmart-pointers

Read More
C++ shared_ptr from *this, parent and derived classes...


c++shared-ptr

Read More
When to use virtual destructors?...


c++polymorphismshared-ptrvirtual-destructor

Read More
How to get the raw pointer of a shared_ptr in C++17?...


c++c++17shared-ptr

Read More
how can I print a shared_ptr class?...


c++printingshared-ptrvoid

Read More
boost asio datetime server example and using std::async is not working...


c++asynchronousboostboost-asioshared-ptr

Read More
Difference in make_shared and normal shared_ptr in C++...


c++c++11shared-ptr

Read More
Difference between `const shared_ptr<T>` and `shared_ptr<const T>`?...


c++boostconstantsshared-ptr

Read More
C++ runtime error with shared_ptr and builder pattern...


c++shared-ptrbuilder-pattern

Read More
How do I call ::std::make_shared on a class with only protected or private constructors?...


c++c++11shared-ptr

Read More
When are smart pointers' memory cleared on calling execv() in a program?...


c++memoryshared-ptrsmart-pointersexecv

Read More
Overwrite "object managing shared pointer" with new memory C++...


c++shared-ptrsmart-pointers

Read More
Making shared pointer of template class using std::tuple<void> tries to form a reference to `v...


templatesc++17shared-ptrstdtuple

Read More
How to directly assign a std::vector to another std::vector when the elements have the same type but...


c++iterationconstantsshared-ptrqualifiers

Read More
Should we pass a shared_ptr by reference or by value?...


c++c++11boostshared-ptr

Read More
shared_ptr and unique_ptr: question about a specific case...


c++shared-ptrsmart-pointersunique-ptr

Read More
How std::enable_shared_from_this::shared_from_this works...


c++c++11shared-ptr

Read More
Why is the reference count not 2?...


c++pointersstdshared-ptr

Read More
Unable to specify a class methods as constexpr in C++...


c++c++20shared-ptrconstexpr

Read More
BackNext