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

--- Comment #3 from Stanislav Blinov <[email protected]> ---
(In reply to RazvanN from comment #1)

> @disable this(this);
> @disable this(ref typeof(this));
> 
> You don't have to reflect on any code this way.

If I don't want to further infest the codebase with postblits, I have to.

> The rule of thumb is: if you want to make sure that a posblit does not get
> in your way you must defensively disable the postblit and then the copy
> constructor will have priority.

Postblits will never go away then, until they stop compiling.

--

Reply via email to