On 6/9/11, Steven Schveighoffer <schvei...@yahoo.com> wrote:
> What I mean is, whenever you use the blunt instrument 'cast' anything can
> happen.  This code:
>
> cast(x)y;
>
> can do a lot of damage, depending on what x and y are.

This was on my mind since I've seen it in std.datetime, and I agree.
Isn't it possible for std.conv.to to check if there's a to() function
defined in a struct/class and then use that?

Reply via email to