On Wednesday, 18 May 2022 at 19:58:09 UTC, Ali Çehreli wrote:
Hmm. Perhaps the guideline should be "all destructors must be @nogc".Ali
It should probably just default to that and with no exception, since you will never end up in a situation where you don't want @nogc for a destructor.
At least I can't imagine one, and if there is one then it's probably due to another design issue in one's program.