Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-07-23 12:18:04

I was talking about Loki::SmartPtr. I'm not familiar with policy-based
smart pointers but I suspect it is template-based? If so it would still be
more complex to use because you'll have to wrap typenames with a real class.
It will become difficult to manage if you are pointing to a children of
class inheriting mutiple times the same parent for example. Which counter
will it use under badly designed projects like this one? Can it be applied
to TrollTech's QListView for example?

"Gennadiy Rozental" <rogeeff_at_[hidden]> wrote in message
> "Philippe A. Bouchard" <philippeb_at_[hidden]> wrote in message
> news:ahk0in$gk6$
> > It seems you cannot use it with typenames that easily; it depends on
> virtual
> > tables and you'll have to prepare your pointee type similarly to
> > detail::counted_base derivatives. I'm still not convinced this
> /
> > benefits ratio is better.
> I am not sure what you meant as "it", but if it is Policy-Based smart
> pointer then both your statements are incorrect.
> 1. Framework does not have virtual functions and virtual tables
> ( though resulting smart pointer may have, depends on policies
> implementation)
> 2. It has nothing to do with counted_base (at least my version)
> Gennadiy.
> _______________________________________________
> Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at