www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Type punning, etc

reply "bearophile" <bearophileHUGS lycos.com> writes:
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
Jun 13 2013
parent "David Nadlinger" <code klickverbot.at> writes:
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
Jun 13 2013