Strict aliasing in D

Walter Bright newshound2 at digitalmars.com
Sat Jul 27 01:58:22 PDT 2013


On 7/27/2013 1:08 AM, monarch_dodra wrote:
> 1. Does strict aliasing apply to slices?

I don't know what you mean.

> 2. C++ uses 'char' as a 'neutral' type that can alias to anything. What about D?
> Does char fill that role? Does ubyte?

I'll go with deadalnix's answer.


More information about the Digitalmars-d mailing list