Indexing an associative array with a list of types
bearophile
bearophileHUGS at lycos.com
Sat Apr 11 17:51:12 PDT 2009
grauzone:
> int[TypeInfo[]] typemap;
This too may work, and avoids one indirection layer, but it leads to some troubles later:
> int[TypeInfo[2]] typemap;
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list