[Issue 20365] Copy constructor not invoked on static arrays of structs but the postblit works

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 7 07:53:21 UTC 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
This can be nicely solved with the new hasCopyConstructor/hasPostblit traits
[1]. I will look into it.

[1] https://github.com/dlang/dmd/pull/10528

--


More information about the Digitalmars-d-bugs mailing list