https://issues.dlang.org/show_bug.cgi?id=20183

Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86                         |All
                 OS|Windows                     |All

--- Comment #3 from Walter Bright <[email protected]> ---
The problem is that the lifetime of a struct literal or temporary is only to
the end of the expression it appears in. Assigning the address of them to a
longer lived variable is not valid.

--

Reply via email to