Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-02-06 02:03:13


Tommy Nordgren wrote:
> I have developed a nonintrusive Reference Counting Handle class that
> supports crosscasts.
> The limitaions are that both source and target parameter types must
> have virtual methods, and that currently it don't supports access from
> multiple threads,
> Do the esteemed members of this list think that such a class would be
> a useful addition to the library??

It would be helpful if you explained how it differs from shared_ptr, which also
supports cross-casting. See

http://www.boost.org/libs/smart_ptr/shared_ptr.htm#dynamic_pointer_cast

Jonathan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk