
1 Oct
2011
1 Oct
'11
4:30 p.m.
<...>
I read on google that you can only use shared_from_this on ONE class type in a class hierarchy. I did not understand the details of why.
You probably mean that you should inherit enable_shared_from_this only once. But then you can use shared_from_this wherever you wish.