$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: edA-qa (edA-qa_at_[hidden])
Date: 2005-03-25 07:41:14
Eric Niebler wrote:
> void Do( shared_ptr<B> b )
> { b->Add( shared_from_this() ); }
> You can read about enable_shared_from_this in the shared_ptr docs.
Thank you, that's basically a more elegant form of the solution I was
going to do. I'll use that. :)
-- edA-qa mort-ora-y Idea Architect http://disemia.com/