Click here to Skip to main content
15,891,375 members
Articles / Programming Languages / C++

Solution for Multiple enable_shared_from_this in Inheritance Tree

Rate me:
Please Sign up or sign in to vote.
4.73/5 (5 votes)
21 Nov 2011MIT5 min read 46K   378   9  
The initial implementation of enable_shared_from_this of STL or the one from Boost C++ causes crash if it appears more than once in the inheritance tree of a user class. This is a solution for the problem. (search tag: enable shared from this)

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Software Developer (Senior) CAE Inc.
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions