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.0 released 2 years ago
- Copyright © 2021, Anton Curmanschii