combine different data type

sami sami at hotmail.com
Mon Jan 30 04:58:38 PST 2012


when i do that auto x = [1, "ha"];
i have an error Error: incompatible types for ((1) ? ("hgh")): 
'int' and 'string'
if there any method to combine different data type?


More information about the Digitalmars-d-learn mailing list