[Issue 4703] Ambiguously designed array syntax

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 21 13:04:08 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4703



--- Comment #4 from nfxjfg at gmail.com 2010-08-21 13:04:06 PDT ---
This ferature is in C99, with different syntax.
Example from the GCC docs:

int a[6] = { [4] = 29, [2] = 15 };

It's very useful. D's inability to initialize anything else than static
variables with this syntax and the upcoming of CTFE made it an mostly
meaningless, obscure feature.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list