Sean Kelly wrote:
Yeah, I was mostly responding to your earlier comment that casting
didn't work for you. If you really wanted to cast it would be to
ptrdiff_t anyway.
I agree that there's a more fundamental problem though. Weren't we going
to make implicit narrowing conversions an error? I know it isn't in the
spirit of c, but c allows all sorts of horrible nonsense.
Implicit narrowing conversions are already disabled. But code involving
cast is explicit.
Andrei
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos