On 17/07/18 16:29, aliak00 wrote:

A postblit on a class issues a compiler error. And an identity opAssign on a class also issues a compiler error. So I'm not sure how this would be different. And the page In https://dlang.org/spec/operatoroverloading.html also explicitly mentions differences between ops on classes or structs.

That's actually a good argument. It should definitely be handled the same way the corresponding opAssign is handled.

Thanks,
Shachar

Reply via email to