Alex Ott
2006-10-16 09:52:02 UTC
Hello all
I have one problem with enable_shared_from_this - i have one Base
class, that inherit from enable_shared_from_this<Base>. But i also
need to do shared_from_this from classes inherited from Base class.
Without explicit inheritance from enable_shared_from_this for Derived
code fail, but when i do enable_shared_from_this<Derived>, my code
fail with "error: reference to 'shared_from_this' is ambiguous"
How i can resolve this issue?
I have one problem with enable_shared_from_this - i have one Base
class, that inherit from enable_shared_from_this<Base>. But i also
need to do shared_from_this from classes inherited from Base class.
Without explicit inheritance from enable_shared_from_this for Derived
code fail, but when i do enable_shared_from_this<Derived>, my code
fail with "error: reference to 'shared_from_this' is ambiguous"
How i can resolve this issue?
--
With best wishes, Alex Ott
http://alexott.blogspot.com/
http://content-filtering.blogspot.com/
http://xtalk.msk.su/~ott/
With best wishes, Alex Ott
http://alexott.blogspot.com/
http://content-filtering.blogspot.com/
http://xtalk.msk.su/~ott/