[Issue 21368] copy-constructors aren't called for static arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 24 12:41:55 UTC 2020


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

--- Comment #2 from Илья Ярошенко <ilyayaroshenko at gmail.com> ---
(In reply to Stefan Koch from comment #1)
> It's coming from a ref.
> 
> What makes you think that any ctor should be called?

It is returned by value.

--


More information about the Digitalmars-d-bugs mailing list