foreach and element type inference

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 23 21:10:47 PST 2015


On 11/24/2015 05:58 AM, Jonny wrote:
>
> Else, why not allow stuff like
>
> e = 1;
>
> instead of
>
> auto e = 1;

Because the first notation already has a different meaning.


More information about the Digitalmars-d mailing list