string and char[]

Morlan home at valentimex.com
Fri Apr 8 04:37:10 PDT 2011


int[char[]] is consistently used D's Language
reference to illustrate associative arrays. For me it
looks like something that should not compile. Of
course int[string] works without problem so I wonder
why int[char[]] was used as an example. Was it carried
over from D1 reference perhaps?


More information about the Digitalmars-d mailing list