type of array element, type of assoz key?

dennis luehring dl.soluz at gmx.net
Sat Aug 4 23:26:38 PDT 2007


how can i get the element type of an array at compiletime?

example:
   int test[5] --> int
   double test[] --> double

and what is the type of the key of an assoz. array?

   int test[char[]] --> int, char[]
   double test[int] --> double, int

thx



More information about the Digitalmars-d mailing list