Found through Reddit. I think this mess should be avoided/fixed in D: http://blog.regehr.org/archives/959 I think D supports the type conversions with a union, like part of the C99 standard says. Bye, bearophile