Version statement

Extrawurst spam at extrawurst.org
Tue Dec 14 10:46:47 PST 2010


Hi i just want to discuss two points about D version statements.

1) Why is it not possible to negate the condition of a version 
statement. I think it is unintuitive and keeps me writing weird 
statements like:
version(Win32){}else{version = NotWin32;}

2) I would really like the idea to be able to get a compiletime string 
of version identifiers in some kind of way. Perhaps even an array of 
version-strings.

Any thoughts on that ?

Regards,
Stephan


More information about the Digitalmars-d mailing list