Initialization of associative arrays

Andrei Khropov andkhropov at nospam_mtu-net.ru
Fri Jun 23 06:56:07 PDT 2006


alxdef wrote:

> How to initialize associative array like this:
> 
> const some_type [char[]] arr = ... ?
> 
> Thanks a lot!

I don't think you can initialize them this way.

See http://www.digitalmars.com/d/arrays.html#associative.

P.S. You should better ask such questions in digitalMars.D.learn newsgroup.

-- 
AKhropov



More information about the Digitalmars-d mailing list