Why version() ?

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Tue Feb 10 04:17:50 PST 2009


grauzone wrote:
> Some severe disadvantages of version():
> 1. They can't contain expressions (like "version(linux && mac)").

Unless Apple has plans to s/BSD/Linux/ in MacOS that I'm not aware of, 
version(linux || mac) would probably be more useful...


Allowing boolean expressions (using only version identifiers) in 
version() would be a very welcome feature.

I'm not sure about the rest of your post though.



More information about the Digitalmars-d mailing list