a syntax question

H. S. Teoh hsteoh at qfbox.info
Fri Mar 20 20:46:25 UTC 2026


On Fri, Mar 20, 2026 at 08:34:42PM +0000, Justin via Digitalmars-d-learn wrote:
> may you please describe this line?: int[char[2]] aa;

It declares an associative array named `aa` mapping keys of type char[2]
to int.

A char[2] is a static array of 2 char's.


--T


More information about the Digitalmars-d-learn mailing list