static array with inferred size

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Sep 20 16:34:36 UTC 2017


On 09/20/2017 08:36 AM, jmh530 wrote:
> On Wednesday, 20 September 2017 at 12:10:47 UTC, Andrei Alexandrescu wrote:
>>
>> How would this be useful? -- Andrei
> 
> Really just an additional convenience, instead of writing slice[0..$, 
> 0..$, 0..$, i], you would write slice[.., .., .., i].

The result looks pretty awful. We save two characters per dimension to 
get Morse code. -- Andrei


More information about the Digitalmars-d mailing list