Attributes on Enum Members: Call for use cases.

Michael V. Franklin slavo5150 at yahoo.com
Tue Nov 28 02:20:15 UTC 2017


On Sunday, 19 November 2017 at 13:35:13 UTC, Michael V. Franklin 
wrote:

> What's the official word?  Does it require a DIP?

For those who might want to know, Walter has informed me that 
this change will require a DIP.  I already  have two DIPs in the 
queue right now, so I wouldn't mind if someone else wrote it.

But, absent any volunteers, I would welcome all of you to reply 
to this thread with some use cases where you might find UDAs or 
other attributes useful on enum members.  Deprecation and 
serialization have already been mentioned, but it'd be impossible 
for me to imagine all the different ways users might find this 
feature useful.

Thanks,
Mike



More information about the Digitalmars-d mailing list