No we should not support enum types derived from strings

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed May 12 12:00:00 UTC 2021


On 5/11/21 10:36 PM, Meta wrote:
> ++x still fulfills the contract that the derived enum has inherited from 
> `int`: `++: int -> int`.

No, that would be ref int -> ref int, which has consequences.


More information about the Digitalmars-d mailing list