Nordlöw:

to fail to compile because of D's otherwise strong static type/range checking or at least give an RangeException when run.

cast() is designed to punch holes in the type system, so your code doesn't show problems in D. On the other hand see:
https://d.puremagic.com/issues/show_bug.cgi?id=3999

Bye,
bearophile

Reply via email to