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.

Reply via email to