Search code examples
How can I use std::enable_shared_from_this in both super and subclass?...


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

Read More
'std::bad_weak_ptr' error while using shared_from_this...


c++c++11shared-ptrweak-ptrenable-shared-from-this

Read More
Use of enable_shared_from_this with multiple inheritance...


c++c++11shared-ptrmultiple-inheritanceenable-shared-from-this

Read More
Initializing a member with type std::shared_ptr<B> of a class A with a pointer to class B in a...


c++c++11thisshared-ptrenable-shared-from-this

Read More
Question about the usage of shared_from_this() in practice...


c++c++11shared-ptrsmart-pointersenable-shared-from-this

Read More
Double inheritance of enable_shared_from_this...


c++shared-ptrmultiple-inheritanceenable-shared-from-this

Read More
Bad_weak_ptr caused by call to shared_from_this with multiple inheritence...


c++shared-ptrmultiple-inheritanceambiguousenable-shared-from-this

Read More
pybind11, compile fails on binding Trampolines and multiple inheritance with std::enable_shared_from...


multiple-inheritancepybind11enable-shared-from-this

Read More
smart pointer as argument of function which uses std::function, std::bind...


c++shared-ptrenable-shared-from-this

Read More
Why doesn't std::enable_shared_from_this use a mutable std::weak_ptr?...


c++visual-c++shared-ptrmutableenable-shared-from-this

Read More
enable_shared_from_this returns bad_weak_ptr error...


c++boostshared-ptrenable-shared-from-this

Read More
Must enable_shared_from_this be the first base class?...


c++c++11inheritancemultiple-inheritanceenable-shared-from-this

Read More
When should we use std::enable_shared_from_this...


c++shared-ptrsmart-pointersenable-shared-from-this

Read More
Could shared_from_this be implemented without enable_shared_from_this?...


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

Read More
bad weak pointer when base and derived class both inherit from boost::enable_shared_from_this...


c++boostshared-ptrmultiple-inheritanceenable-shared-from-this

Read More
Why does enable_shared_from_this embed a weak pointer instead of embedding the reference counter dir...


c++c++11shared-ptrenable-shared-from-this

Read More
When is enable_shared_from_this<S> useful?...


c++shared-ptrenable-shared-from-this

Read More
std::enable_shared_from_this; public vs private...


c++c++11shared-ptrprivate-inheritanceenable-shared-from-this

Read More
How does shared_ptr<T> detect that T derives from enable_shared_from_this<T>?...


c++booststdshared-ptrenable-shared-from-this

Read More
Trivial cases of shared_ptr and weak_ptr failing...


c++shared-ptrweak-ptrprivate-inheritanceenable-shared-from-this

Read More
does the move constructor invalidate shared_from_this...


c++multithreadingshared-ptrmove-constructorenable-shared-from-this

Read More
Empty weak pointer in enable_shared_from_this...


c++shared-ptrunique-ptrweak-ptrenable-shared-from-this

Read More
Why does std::enable_shared_from_this allow multiple std::shared_ptr instances?...


c++c++17shared-ptrweak-ptrenable-shared-from-this

Read More
BackNext