"Dave Abrahams" <[EMAIL PROTECTED]> wrote in message
063401c2cd44$28ece840$7901a8c0@penguin">news:063401c2cd44$28ece840$7901a8c0@penguin...
> On Wednesday, February 05, 2003 1:00 PM [GMT+1=CET],
> David B. Held <[EMAIL PROTECTED]> wrote:
>
> > > [...]
> > > Type generators are overkill, since unlike with iterator adaptors
> > > there's no need to preserve type identity.  Normal inheritance will
> > > work just fine.
> >
> > That's a good point.  Do you think public inheritance is ok, or
> > should private be used?
>
> If you think about it briefly, you'll see that private inheritance would
> defeat the whole purpose ;-)

Do you mean because you would have to replicate the entire smart_ptr
interface?  Ah.  Then there would be no point to calling it smart_ptr.
You would just create a custom smart_ptr each time.  Yes, I guess that
would defeat the whole purpose.

Dave



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to