On 2010-04-27 11:50:55 -0400, bearophile <bearophileh...@lycos.com> said:

My opinion is that it's bug-safer something like:

@implicit_filling immutable ubyte _ctype2[256] = [/*128 items here*/];

Ouch! I agree with the idea, but can't you find a better syntax? What about this:

        immutable ubyte a[256] = [1,2,3,4...]; // rest of array is padded with 
4s.
        immutable ubyte b[256] = [1,2,3,4]; // error: not enough values

--
Michel Fortin
michel.for...@michelf.com
http://michelf.com/

Reply via email to