DIP 1014--Hooking D's struct move semantics--Final Review
Shachar Shemesh
shachar at weka.io
Wed Jul 18 02:39:05 UTC 2018
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
More information about the Digitalmars-d
mailing list