Structs can't be zero bytes in size?

Vladimir Panteleev vladimir at thecybershadow.net
Mon Sep 2 21:25:31 PDT 2013


On Tuesday, 3 September 2013 at 03:57:09 UTC, growler wrote:
> If I see code like this I expect a & b to have different 
> addresses.

Why? What do you need that assumption for? What will break if the 
structs became 0-sized?


More information about the Digitalmars-d mailing list