DMD 1.039 and 2.023 releases

Denis Koroskin 2korden at gmail.com
Wed Jan 7 20:27:47 PST 2009


On Thu, 08 Jan 2009 07:22:53 +0300, BCS <ao at pathlink.com> wrote:

> Reply to Brad,
>
>> Restating in the form of a question... When would you _ever_ want
>> {...} to not form a scope?
>>
>
> static if(foo)
> {
>     int i;
>     float x;
> }
>
>

Yeah, and version(foo) belongs here, too.


More information about the Digitalmars-d-announce mailing list