Manifest constants - why not 'alias' ?

Walter Bright newshound1 at digitalmars.com
Thu Dec 6 16:51:35 PST 2007


Bill Baxter wrote:
> Enum is short for 'unumeration'.  But manifest constants aren't 
> enumerating anything.  It makes no sense.

Because we already use enums to declare constant values.

enum { x = 3 }



More information about the Digitalmars-d mailing list