const
Janice Caron
caron800 at googlemail.com
Fri Mar 28 13:35:42 PDT 2008
On 28/03/2008, renoX <renosky at free.fr> wrote:
> I'd say that here both enum and const could be interesting:
> -const for 'traditional enum' and
> -enum for 'named' enumerated objects which you could print the name..
Ooh - I have a tonne of things to say about true enums. However, for
the record, I was only talking about the use of the word "enum" as a
const specified - i.e.
enum x = 42;
I wasn't suggesting that anything should happen to
enum { a, b, c, d, e, f }
Let's save that for another thread! :-)
More information about the Digitalmars-d
mailing list