Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-11-18 07:40:19


From: "David Abrahams" <dave_at_[hidden]>
> >
> > This doesn't look too good if you consider the possible boost->std
> > transition. :-)
>
> But "sp" does? <wink>
>
> How about dynamic_pointer_cast<T>(x)?

Fine with me. You are the LWG guy around here. Whatever you say. ;-)

> Of course, we can make it work for regular pointers, too.

That was kind of implied, yes, although I was more interested in extending
the same syntax to intrusive_ptr and other (Loki-style, for instance) smart
pointers.


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