Why version() ?

Steve Schveighoffer schveiguy at yahoo.com
Tue Feb 10 21:50:55 PST 2009


On Wed, 11 Feb 2009 05:43:48 +0000, Steve Schveighoffer wrote:

> What I mean by
> expanded if statements is that you are making me expand:
> 
> if(a || b)
>   statement;
> 
> into
> 
> bool aorb = false;
> if(a)
>   aorb = true;
> if(b)
>   aorb = true;
> if(c)
>   statement;

This should have been
if(aorb)
  statement;

-Steve



More information about the Digitalmars-d mailing list