Anonymous structs

Brian Schott briancschott at gmail.com
Mon Feb 11 15:17:13 PST 2013


On Monday, 11 February 2013 at 21:30:52 UTC, Jacob Carlborg wrote:
> { int x, int y } point = { y: 4, x: 5 };

That looks like it would confuse the parser because it looks 
almost exactly like a BlockStatement until you get several tokens 
in.


More information about the Digitalmars-d mailing list