Associative arrays question

Robby robby.lansaw at gmail.com
Mon Dec 31 01:20:34 PST 2007


It's probably quite simple, but for some reason I seem to be in a blank.

I'm trying to write an associative array where a enum is the key and a 
array of classes is the value.

So given a simple example
enum T {Zero,One,Two,Three,Four,Five}
class L {}

How would I write the declaration for an associative array?

I thought it may be  L[T[]][] but it's clearly not, help? 


More information about the Digitalmars-d-learn mailing list