array of elements of various sybtypes

spir denis.spir at gmail.com
Wed Jan 26 17:31:23 PST 2011


On 01/27/2011 12:37 AM, bearophile wrote:
> spir:
>
>> May feed be useful in std.array?
>
> Better to fix array litertals instead.

Maybe, but (in this case) array literals are OK. We need a way to feed arrays 
according to a common supertype that may be the actual exact type of no 
provided element.
Now, I agree that array literals (and output formats) have /other/ issues. But 
how would fixing them halp in this case?

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d-learn mailing list