No we should not support enum types derived from strings

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed May 12 11:52:28 UTC 2021


On 5/11/21 10:36 PM, Meta wrote:
> Last I checked, strings are reference types, in the same way that Java 
> objects are reference types.

Just by means of clarification, that's not true because the length is 
stored with the pointer. This occasionally trips folks starting with D.


More information about the Digitalmars-d mailing list