No we should not support enum types derived from strings

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri May 7 20:51:50 UTC 2021


On 5/7/21 2:25 PM, Jacob Carlborg wrote:
> On 2021-05-07 17:24, Andrei Alexandrescu wrote:
> 
>> 0. We put a String type in the standard library.
> 
> If you're going to make strings a user defined type, how are you 
> planning to support things like switch statements with strings?

Built-in strings remain as they are.



More information about the Digitalmars-d mailing list