[Issue 6221] Should be possible to pass struct function returns by 'const ref'.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 28 01:59:28 UTC 2020


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

Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pro.mathias.lang at gmail.com
         Resolution|---                         |FIXED

--- Comment #7 from Mathias LANG <pro.mathias.lang at gmail.com> ---
This is now possible to do, using `-preview=in` and `in` instead of  `const
ref`,  with DMD > 2.094.0.

--


More information about the Digitalmars-d-bugs mailing list