SpiceQA
Questions
Tags
Users
Badges
enable-shared-from-this
9 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
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
user_15547591
0
•
asked Aug 17, 2022
1
2
46
enable-shared-from-this
shared-ptr
c++11
this
c++
Question about the usage of shared_from_this() in practice
user_13611002
0
•
asked Jun 10, 2022
2
1
73
enable-shared-from-this
shared-ptr
smart-pointers
c++11
c++
pybind11, compile fails on binding Trampolines and multiple inheritance with std::enable_shared_from_this
user_2135295
0
•
asked Sep 16, 2021
1
1
95
enable-shared-from-this
pybind11
multiple-inheritance
std::enable_shared_from_this, non-virtual destructor and public inheritance
user_1593077
0
•
asked Jul 21, 2020
2
1
154
enable-shared-from-this
libstdc++
virtual-destructor
compiler-warnings
c++
How can I use std::enable_shared_from_this in both super and subclass?
user_919705
0
•
asked Mar 17, 2020
3
2
485
enable-shared-from-this
weak-ptr
shared-ptr
multiple-inheritance
c++
Must enable_shared_from_this be the first base class?
user_1614051
0
•
asked Mar 15, 2020
8
3
251
enable-shared-from-this
multiple-inheritance
c++11
inheritance
c++
When is enable_shared_from_this<S> useful?
user_1305891
0
•
asked Jun 13, 2019
3
1
342
enable-shared-from-this
shared-ptr
c++
two shared_ptr from same enable_shared_from_this instance
user_415784
0
•
asked Nov 13, 2017
7
2
830
enable-shared-from-this
weak-ptr
reference-counting
shared-ptr
c++
Why does enable_shared_from_this embed a weak pointer instead of embedding the reference counter directly?
user_201725
0
•
asked Jul 26, 2011
10
3
1331
enable-shared-from-this
shared-ptr
c++11
c++
1
(current)
Hot Questions