[Issue 17470] [scope] this has longer lifetime than this
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jun 5 10:02:44 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17470
uplink.coder at googlemail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WORKSFORME |INVALID
--- Comment #4 from uplink.coder at googlemail.com ---
Apparently this error is valid because structs maybe moved.
in which case `s` would contain a dangling pointer.
--
More information about the Digitalmars-d-bugs
mailing list