texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] enums patch


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] enums patch
Date: Thu, 12 Sep 2002 18:33:59 +0200 (MET DST)

> This seems indeed a well accepted usage.
> See for example qdir.h in the Qt header.
> 
>     enum FilterSpec { Dirs        = 0x001,
>                     Files         = 0x002,
>                     Drives        = 0x004,
>                     NoSymLinks    = 0x008,
>                     All           = 0x007,
>                      TypeMask     = 0x00F,
> 
>      ...
>      };

The point is not that much about what is permitted or not,
but whether such a thing should be considered to be a *data type*.
I understand your point of avoiding to use the preprocessor,
but is this really *that* important in this case?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]