June 13, 2013 Type punning, etc | ||||
---|---|---|---|---|
| ||||
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 |
June 13, 2013 Re: Type punning, etc | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | On Thursday, 13 June 2013 at 16:43:01 UTC, bearophile wrote:
> 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.
Yes, we need a clear definition of pointer aliasing rules in D.
David
|
Copyright © 1999-2021 by the D Language Foundation