Conditional Compilation Multiple Versions

bitwise via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 12 17:41:59 PDT 2015


Is there a way to compile for multiple conditions?

Tried all these:

version(One | Two){ }
version(One || Two){ }
version(One && Two){ }
version(One) |  version(Two){ }
version(One) || version(Two){ }
version(One) && version(Two){ }

   Bit


More information about the Digitalmars-d-learn mailing list