Click here to Skip to main content
15,892,059 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)

Revisions


  

Compare Revision Minor Date Status Editor
13 - publicly available No 22-Jan-12 2:32 Available Deeksha Shenoy
12 No 13-Dec-11 4:56 Available Smitha Nishant
8 No 20-Nov-11 7:10 Composing
6 No 20-Nov-11 5:59 Composing
5 No 20-Nov-11 5:42 Composing
4 No 20-Nov-11 4:04 Composing
3 No 19-Nov-11 3:30 Composing
1 No 18-Nov-11 14:39 Composing

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