On Tuesday, 14 November 2023 at 08:50:34 UTC, dhs wrote:
In other words: why doesn't ss2=s2 fail here?

Thanks,
dhs

Seems like it isn't called at all, your copy constructor with inout. Could be a bug.

My assumption is that default copy constructors are generated alongside inout one, and then picked up for your initialization instead of inout one.

Best regards,
Alexandru.

Reply via email to