DMD 1.039 and 2.023 releases
Stewart Gordon
smjg_1998 at yahoo.com
Sat Jan 10 08:21:07 PST 2009
Walter Bright wrote:
<snip>
> Writing labeled block statements is something more likely to be
> generated by an automated D code generator,
I still don't get it.
> and it's convenient to be able to control if a scope is generated or not.
To force a block to create a scope:
{{
...
}}
To force a block not to create a scope:
version (all) {
...
}
Stewart.
More information about the Digitalmars-d-announce
mailing list