[Issue 6938] no implicit copy constructor for struct literal expression

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 19 16:46:51 UTC 2019


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

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

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

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
This bug report is invalid. DMD does not have implicit constructors. Blits are
made by default if a struct does not define a copy constructor; this behavior
is according to the spec. Closing as invalid.

--


More information about the Digitalmars-d-bugs mailing list