Treat D versions as boolean expressions.
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
Version, that can be used to find out whether a given version is set, getting it as a boolean expression.
import acd.versions : Versions; mixin Versions; version = Hello; static assert(Version.Hello && !Version.Foo);
- Registered by Anton Curmanschii
- 1.0.4 released a year ago
- Copyright © 2021, Anton Curmanschii