25 Mar
2005
25 Mar
'05
12:41 p.m.
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/