No we should not support enum types derived from strings

Jacob Carlborg doob at me.com
Fri May 7 18:25:57 UTC 2021


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? It's not 
currently possible to have switch statements with user defined types.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list