8 ms·
In D it would be: int[int] whatever;
by WalterBright 13y ago
In D it would be:
int[int] whatever;
- cldr 13y agoActually wouldn't it be int[][int] whatever; ? Because I think we should be getting an array out whenever we do whatever[1] and not just an int.
- keyle 13y ago(You were questioning the language designer there)
- cldr 13y agoI know, I think he misread the C++ code.
- WalterBright 13y agoYes, you're right.