safer casts - take II
Janice Caron
caron800 at googlemail.com
Tue May 13 13:44:40 PDT 2008
The case for dynamic cast is closed. I just heard from the powers that
be that std.conv.to will support an exception-throwing dynamic cast in
the next Phobos. So it's
dst = cast(T)src; // non-throwing dynamic cast
dst = to!(T)(src); // throwing dynamic cast
Hopefully everyone's happy now.
Does anyone have a problem with the proposal /apart/ from dynamic cast failure?
More information about the Digitalmars-d
mailing list