Version block "conditions" with logical operators
Johan Engelen via Digitalmars-d
digitalmars-d at puremagic.com
Tue May 10 05:27:19 PDT 2016
On Tuesday, 10 May 2016 at 11:12:58 UTC, Tomer Filiba wrote:
> Hey guys,
>
> Looking at our code base (weka), I realized it would be really
> useful if we had logical operators (negation, conjunction,
> disjunction) in the version's "condition" clause.
We resort to enums whenever 'version' is not adequate like this:
https://github.com/ldc-developers/ldc/blob/master/ddmd/globals.d#L18-L45
More information about the Digitalmars-d
mailing list