No we should not support enum types derived from strings

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue May 11 15:19:05 UTC 2021


On 5/11/21 10:34 AM, deadalnix wrote:
> On Tuesday, 11 May 2021 at 13:56:50 UTC, Andrei Alexandrescu wrote:
>> Then enum strings are not ranges, correct?
> 
> They are not. But they are strings. Which imply that string aren't 
> ranges, which is right, `ref strings` are ranges, not strings.

`ref string` is not a type.


More information about the Digitalmars-d mailing list