array literal element types
Moritz Warning
moritzwarning at web.de
Thu Nov 12 14:37:39 PST 2009
On Thu, 12 Nov 2009 13:42:45 -0800, Walter Bright wrote:
> Currently, the type is determined by the type of the first element and
> the rest are implicitly cast to it.
>
> I propose changing it to being the type produced by applying the ?:
> logic repeatedly to all the elements.
vote++
Would be nice to finally have this (low profile) feature.
I think there was a discussion already but nothing happened.
More information about the Digitalmars-d
mailing list