[Issue 5034] Ranged (or bounded) array initializer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 10 13:48:19 PDT 2010


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



--- Comment #1 from Shin Fujishiro <rsinfu at gmail.com> 2010-10-10 13:47:50 PDT ---
A syntax for "filling the rest" would also help.  I don't come up with any good
syntax though.  Maybe something like follows:

int[char.max+1] table =
[
    'a': ALPHA,
    '0': DIGIT,
    ...: UNKNOWN  // fill the rest with UNKNOWN
];

-- 
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