[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
Tue Jul 5 10:11:57 UTC 2022


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

--- Comment #5 from RazvanN <razvan.nitu1305 at gmail.com> ---
(In reply to kinke from comment #1)
> Let's include CatAssign as well for completeness:
> 
> S[] c;
> c ~= a; // no copy ctor calls, but 4 postblits

The CatAssign example seems to have been fixed, but the initial assign example
still fails.

--


More information about the Digitalmars-d-bugs mailing list