Alternative Possibility - Implicit with
Walter Bright
newshound2 at digitalmars.com
Sun Nov 20 02:54:15 UTC 2022
On 11/19/2022 5:11 PM, zjh wrote:
> For a specific function, you only need to give the `syntax` for opening a
> specific namespace such as `'enum/struct/class'`etc. The `existing syntax/tools`
> will not be broken or not much damage.
https://dlang.org/spec/statement.html#with-statement
In action:
https://github.com/dlang/dmd/blob/master/compiler/src/dmd/tokens.d#L607
More information about the Digitalmars-d
mailing list