www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - a syntax question

reply Justin <stove21173 proton.me> writes:
may you please describe this line?: int[char[2]] aa;
Mar 20
parent "H. S. Teoh" <hsteoh qfbox.info> writes:
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
Mar 20