pointer escaping return scope bug?

ag0aep6g anonymous at example.com
Sat Nov 19 15:09:40 UTC 2022


On Saturday, 19 November 2022 at 15:02:54 UTC, Nick Treleaven 
wrote:
> OK, so how do I make `lf` implicitly scope?

By explicit/implicit I just meant this:

----
scope explicit = new int;
int x;
auto implicit = &x;
----

That's probably not helping with whatever you want to accomplish.


More information about the Digitalmars-d-learn mailing list