Version block "conditions" with logical operators
John Colvin via Digitalmars-d
digitalmars-d at puremagic.com
Wed May 11 13:42:32 PDT 2016
On Wednesday, 11 May 2016 at 20:37:35 UTC, Walter Bright wrote:
> Actually, dmd is a nice example of how unnecessary it is. The
> dmd C++ source code used to be full of it.
I'm convinced that you're argument is reasonable if version is
only for things like platforms, but it's used for a lot of other
stuff e.g. version(PrintSomeExtraInfo) or
version(CacheSomeStuffForPerformance). Do you think the same
principle applies there?
More information about the Digitalmars-d
mailing list