[boost] Re: Re: Upcoming changes to shared_ptr
by Eric Woodruff other posts by this author
Nov 18 2002 7:10AM messages near this date
Re: [boost] Re: Upcoming changes to shared_ptr
|
Re: [boost] Re: Upcoming changes to shared_ptr
"David Abrahams" <dave@[...].com> wrote in message
news:un0o75wp1.fsf@[...]..
> "Peter Dimov" <pdimov@[...].net> writes:
>
> > From: "Eric Woodruff" <Eric.Woodruff@[...].com>
> >>
> >> "David Abrahams" <dave@[...].com> wrote in message
> >> news:uvg2w6j80.fsf@[...]..
> >> > "Peter Dimov" <pdimov@[...].net> writes:
> >> >
[snip]
> >> Alternatively, it could be named boost_dynamic_cast
> >> and put in the global namespace, where it can be overloaded as needed
by
> >> boost.
> >
> > 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)?
Why not polymorphic_cast<> ?
>
> Of course, we can make it work for regular pointers, too.
>
> --
> David Abrahams
> dave@[...].com * http://www.boost-consulting.com
> Boost support, enhancements, training, and commercial distribution
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
>
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Peter Dimov
Peter Dimov
Dirk Gerrits
hugo duncan
Peter Dimov
David Abrahams
Peter Dimov
Peter Dimov
Eric Woodruff
Peter Dimov
David Abrahams
Peter Dimov
David Abrahams
Eric Woodruff
David Abrahams
|