On Thursday, 18 February 2021 at 11:00:50 UTC, vitamin wrote:

opPostMove https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1014.md can solve this problem but it isn't implemented;

IIRC opPostMove has been abandoned for the same reason postblits were abandoned (issues with type-checking and const/immutable).

Walter has a draft DIP that introduces move constructors [1], but it is currently on hold because of a new rule requiring that DIPs authored by a Language Maintainer (i.e., Walter or Atila) have a third-party "champion" to take them through the DIP process. So, if anyone wants to "adopt" this DIP, it would be a great service to the community.

[1] https://github.com/dlang/DIPs/pull/182

Reply via email to