Discussion Thread: DIP 1035-- at system Variables--Community Review Round 2
Paul Backus
snarwin at gmail.com
Tue Mar 2 16:04:14 UTC 2021
On Tuesday, 2 March 2021 at 15:17:54 UTC, Dukc wrote:
> So the queastion is:
>
> ```D
> ShortString getSString() pure @system {<...>}
> //under what conditions, if any, is the initialization inferred
> as @safe here?
> ShortString n = getSString();
> ```
In this example, `n` will always be inferred as a @system
variable.
More information about the Digitalmars-d
mailing list