Accomplishing boost::shared_from_this() in constructor via boost::shared_from_raw(this)
- by Kyle
Googling and poking around the boost code, it appears that it's now possible to construct a shared_ptr to this in a constructor, by inheriting from enable_shared_from_raw and calling shared_from_raw(this)
Is there any documentation or examples of this? I'm finding nothing with google.
Why am I not finding any useful buzz on this on google? I…