[C++-sig] Re: reference counting pointers

Dusty Leary dleary at ttlc.net
Fri Jul 18 06:46:44 CEST 2003


> 
> Try 
> 
>     implicitly_convertible<intrusive_ptr<B>, intrusive_ptr<A> >();
> 
> Of course, if you just use shared_ptr instead, none of that is needed
> ;-)
> 

why does it work automatically with shared_ptr and not with intrusive_ptr?





More information about the Cplusplus-sig mailing list