On Sunday, 19 December 2021 at 23:21:00 UTC, Stanislav Blinov wrote:
On Sunday, 19 December 2021 at 22:29:21 UTC, vit wrote:
Hello,
Why is copy ctor in this example not called?

Because D runtime isn't properly married to copy constructors yet. I.e. it's a bug, a variant of this one: https://issues.dlang.org/show_bug.cgi?id=20879

Thanks,
That bug is 1.5 years old. Are this problems with copy ctors hard to fix?
Are copy ctors still experimental functionality?

Reply via email to