mixed type list?

seany seany at uni-bonn.de
Wed Nov 20 03:07:25 PST 2013


Is there any way to represent mixed data (of various types) as a 
single array?

In scilab, we have list, and you can do list(integer, stringvar 
....) etc.

Can you do something similar in D?  An idea is to use a struct 
wil all possible data types, but think that is inefficient.

Any other ideas?


More information about the Digitalmars-d-learn mailing list