"David Abrahams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "Peter Dimov" <[EMAIL PROTECTED]> writes: > > > From: "Eric Woodruff" <[EMAIL PROTECTED]> > >> > >> "David Abrahams" <[EMAIL PROTECTED]> wrote in message > >> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >> > "Peter Dimov" <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] * 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