More type-flexible arrays?

Ozan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 13 23:12:29 PDT 2015


Hallo!

Is it possible to create arrays which has more then one type,
f. ex. array[0] = 1; array[1] = "z"; array[2] = new clazz(), ....

I tried "Variant", but it slow down heavily my app.

Greetings,
Ozan


More information about the Digitalmars-d-learn mailing list