version: multiple conditions

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 17 10:28:51 PDT 2015


On Mon, 15 Jun 2015 22:06:24 +0000, Ola Fosheim Grøstad wrote:

> On Monday, 15 June 2015 at 21:59:43 UTC, ketmar wrote:
>> nononono. i smell #define hell from C and all the problems it brings,
>> like careful ordering of #include.
> 
> Nah. #define does not define constants, but variable macros.
> 
> Constants are constant _everywhere_. If ordering can effect that it
> isn't a _constant_.

and `version` isn't a constant. it's a version id. it even lives in it's 
own name space.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150617/b4d86a49/attachment.sig>


More information about the Digitalmars-d mailing list