[Issue 4338] Structs with non-const destructors cannot be used as const parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 15 11:32:27 UTC 2022


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |LATER

--- Comment #10 from RazvanN <razvan.nitu1305 at gmail.com> ---
Closing this issue as the code compiles. As Andrei pointed out, it is unsound
for this code to compile, however, there is a dedicated bug report for that
case.

--


More information about the Digitalmars-d-bugs mailing list