Thu, 19 Mar 2009 06:35:37 -0400, Steve Teale wrote:

> for (; a<b; a++);
> 
> is illegal in D.
> 
> Doesn't this break a lot of C and C++ code?

for (; a<b; a++) {}

is legal.  I don't think that an empty statement after for is used in "a
lot of code."

Reply via email to