List Question
20 TechQA 2023-04-18T14:54:38.967000Why is the weak reference count of a std::shared_ptr not zero after std::make_shared invoked?
162 views
Asked by wcochran
'std::bad_weak_ptr' error while using shared_from_this
471 views
Asked by LKB
Using shared_from_this() with derived class
87 views
Asked by Benzecat
swap method for a class inherited from enable_shared_from_this<...>
49 views
Asked by traveh
Initializing a member with type std::shared_ptr<B> of a class A with a pointer to class B in a member function of B
196 views
Asked by rungekutta
Question about the usage of shared_from_this() in practice
599 views
Asked by John
when to use shared_from_this()
2.3k views
Asked by Yacheng Liu
smart pointer as argument of function which uses std::function, std::bind
193 views
Asked by Nikita Pavlenko
Ownership sharing with smart pointers while object initialization
104 views
Asked by nickname
Why doesn't std::enable_shared_from_this use a mutable std::weak_ptr?
471 views
Asked by Joshua W
std::enable_shared_from_this, non-virtual destructor and public inheritance
304 views
Asked by einpoklum
enable_shared_from_this returns bad_weak_ptr error
796 views
Asked by wwwwe
Assertion to enforce creation of object as shared_ptr?
256 views
Asked by Adam Stark
How can I use std::enable_shared_from_this in both super and subclass?
999 views
Asked by oz1cz
Must enable_shared_from_this be the first base class?
417 views
Asked by Filipp
terminate called after throwing an instance of 'std::bad_weak_ptr' what(): bad_weak_ptr?
6.1k views
Asked by justin.shen
Bad_weak_ptr caused by call to shared_from_this with multiple inheritence
511 views
Asked by PVRT
Trivial cases of shared_ptr and weak_ptr failing
1.7k views
Asked by LubosD