Type.stringof
renoX
renosky at free.fr
Thu Feb 22 14:12:43 PST 2007
Lionello Lunesu a écrit :
> Walter Bright wrote:
>> torhu wrote:
>>> I think that it would be good if the docs could mention with which
>>> compiler version a feature was added.
>>
>> It does in the changelog.
>
> Not for .stringof it doesn't :)
>
> By the way, it would be nice if .stringof for an enum member would
> return the actual enum stringized.
Note that Kevin Bealer has made two versions of a template for
'reflective enums'.
I don't find the result totally satisfying as you loose the type safety
in current version, but it's a good start.
renoX
> Will this be possible?
>
> L.
More information about the Digitalmars-d
mailing list