auto -> auto & var
Unknown W. Brackets
unknown at simplemachines.org
Sat Mar 18 08:15:42 PST 2006
int main()
{
loop (int i = 0; i < 5; i++)
{
writefln(i);
}
my_forever_loop:
loop (true)
{
writefln("would be forever");
break my_forever_loop;
}
break 0;
}
Surely the compiler would have no trouble parsing this.
-[Unknown]
> <stab> If we wanted to save keywords, we could surely find lots of other
> places where we could use the same word for different things, without it
> becoming awkward for the compiler. But so far we haven't done that. It
> would be just dumb. </stab>
More information about the Digitalmars-d
mailing list