Design of reflective enums

Michiel nomail at please.com
Fri Feb 23 12:33:41 PST 2007


renoX wrote:

>> 2. Built-in enums do not produce symbols in object files. Neither
>> should library implementation.
> 
> Well for reflective enums, you need to store the strings somewhere..

Not if it's a core feature. Every request for a label could be replaced
by a literal by the compiler.

-- 
Michiel



More information about the Digitalmars-d mailing list