Proposal: struct and array literal syntax

Andrei Khropov andkhropov at nospam_mtu-net.ru
Wed Jun 21 03:36:36 PDT 2006


Derek Parnell wrote:

> Now a 'rectangular' array ...
> 
>   int[][]![
>       int[]![1,2,3,4],
>       int[]![5,6,7,8],
>       int[]![9,0,1,2],
>       int[]![3,4,5,6],
>     ]
> 
> Hmmm ... appears to do okay. 
Well, in the last case inner int[]! s appear to be a syntactic overhead.

I'm still waiting for better handling of multidimensional rectangular arrays
(not less effective "jagged").

-- 
AKhropov



More information about the Digitalmars-d mailing list