string and char[]

Simen kjaeraas simen.kjaras at gmail.com
Fri Apr 8 04:35:57 PDT 2011


On Fri, 08 Apr 2011 13:37:10 +0200, Morlan <home at valentimex.com> wrote:

> 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?

Probably it was. Could you please file a bug report on that?
http://d.puremagic.com/issues/enter_bug.cgi

-- 
Simen


More information about the Digitalmars-d mailing list