Contradictory justification for status quo

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 25 23:38:12 PST 2015


On Wednesday, 25 February 2015 at 21:06:54 UTC, deadalnix wrote:
> This very conversation went on in a very lengthy thread a while 
> ago (note, for SDC, I just dropped (2), typeof(E.A | E.B) == 
> int and I consider it a closed issue).

If you keep the type, you can decompose the flag set when 
converting the value to string, see how C# does it: 
https://msdn.microsoft.com/en-us/library/vstudio/system.flagsattribute.aspx


More information about the Digitalmars-d mailing list