Casting Pointers?
Rene Zwanenburg via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 13 01:42:50 PDT 2016
On Thursday, 12 May 2016 at 22:23:38 UTC, Marco Leise wrote:
> The pointer cast solution is specifically supported at CTFE,
> because /unions/ don't work there. :p
Well that's a problem ^^
I remember a discussion quite a while ago where Walter stated D
should have strict aliasing rules, let me see if I can find it..
Ah here:
http://forum.dlang.org/post/jg3f21$1jqa$1@digitalmars.com
On Saturday, 27 July 2013 at 06:58:04 UTC, Walter Bright wrote:
> Although it isn't in the spec, D should be "strict aliasing".
> This is because:
>
> 1. it enables better code generation
>
> 2. there are ways, such as unions, to get the other aliasing
> that doesn't break strict aliasing
On Saturday, 27 July 2013 at 08:59:54 UTC, Walter Bright wrote:
> On 7/27/2013 1:57 AM, David Nadlinger wrote:
>> We need to carefully formalize this then, and quickly.
>>
>> [...]
> I agree. Want to do an enhancement request on bugzilla for it?
More information about the Digitalmars-d
mailing list