array literal element types

Bill Baxter wbaxter at gmail.com
Thu Nov 12 14:37:36 PST 2009


On Thu, Nov 12, 2009 at 2:30 PM, bearophile <bearophileHUGS at lycos.com> wrote:
> Walter Bright:
>> I propose changing it to being the type produced by applying the ?:
>> logic repeatedly to all the elements.
>
> A lot of time ago I have proposed that array literals use the type able to contain all their items :-)
> D is slowly improving. Lot of travel to do still.

Hey!  I proposed it too!  -- Jan 2007, can you beat that?  :-)
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=47530

--bb



More information about the Digitalmars-d mailing list