manifest enum

John Reimer terminal.node at gmail.com
Tue Jan 1 14:37:11 PST 2008


John Reimer wrote:

> On the other hand if an anonymous enum block /is/ the same as a single 
> manifest constant, then it becomes confusing and hard to differentiate 
> the old enum type in a listing from the manifest enums.  Maybe this was 
> one of the arguments against it in earlier discussions?
> 
> I can settle for the name "enum", but it does seem to add a unusual 
> level of confusion.  Granted I'm probably bringing up something that's 
> been hashed over in previous discussions already.
> 
> -JJR
> 
> 

Okay, I was jumping the gun. It seems anonymous enums are synonymous 
with manifest constants, period -- singly or block declared.  I can live 
with that.  I suppose there shouldn't be any confusion.

Although, I think the docs could clearer as indicated in my last post.

-JJR



More information about the Digitalmars-d mailing list