Casting Pointers?

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Thu May 12 07:20:28 PDT 2016


On Thu, May 12, 2016 at 09:38:27AM +0000, Dicebot via Digitalmars-d wrote:
> On Thursday, 12 May 2016 at 09:33:54 UTC, Dicebot wrote:
[...]
> >We rely on this cast to be legal and well-defined in a lot of
> >Sociomantic code, banning would be a real disaster :X
> 
> (most common case is casting between `char[]` and `struct S { char[]; }`)

Does alias this solve the problem, or it introduces new ones?


T

-- 
Let's eat some disquits while we format the biskettes.


More information about the Digitalmars-d mailing list