<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#330033" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 5/13/2013 7:36 PM, Ethan Furman
wrote:<br>
</div>
<blockquote cite="mid:5191A348.90805@stoneleaf.us" type="cite">
<blockquote type="cite" style="color: #000000;">2) Is something
like demo2 interesting to anyone but me? Of course, I think it
would be great for reporting flag values
<br>
using names rather than a number representing combined bit
fields.
<br>
</blockquote>
<br>
No idea. <span class="moz-smiley-s3" title=";)"><span>;)</span></span>
</blockquote>
<br>
There's been some talk of Enum-ing constants in the Socket
library... I'm no socket programmer, so I'd have to go read the APIs
to know if any of them are for bitfields which are typically
combined together with | or + being the typical operators... and
which would convert them to plain integers, and lose the reporting
by name. That's the problem I see with IntEnum used for bitfields.<br>
<br>
For simple selection of choices, one choice per parameter, Enum will
be great. But for bitfields, it is lacking.<br>
<br>
Sorry if this sounds repetitious, but all the other times I've
mentioned it, it has been in a big discussion of other stuff too.<br>
<br>
Glenn<br>
</body>
</html>