Re:Checked C
by WalterBright on Wednesday December 21, 2022 @07:42PM
(#34088298)
> a fat pointer to a multidimensional array
T[3][4][..] a;
> length a.length
My other questions are how do you create one of these fat pointers, how do you get the length, etc. This sounds to me like VLAs, but with a bigger change to the language, but unable to handle multidimensional arrays. VLAs, for all their faults, at least fit into the language for users well enough that people accidentally use them all the time (not necessarily a good thing).