Click here to Skip to main content
11,789,710 members (62,736 online)
Click here to Skip to main content

Solution for Multiple enable_shared_from_this in Inheritance Tree

, 21 Nov 2011 MIT 14.4K 209 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)


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


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


About the Author

Philippe Cayouette
Software Developer (Senior) CAE Inc.
Canada Canada
No Biography provided

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.1509028.1 | Last Updated 21 Nov 2011
Article Copyright 2011 by Philippe Cayouette
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid