determine ldc version in static if or version?
Adam D. Ruppe
destructionator at gmail.com
Wed Apr 1 21:19:54 UTC 2020
I want to do like
static if(__LDC_VERSION == 1.19) {
// declaration
}
All the tricks I know that I have tried so far give the dmd
numbers. Perhaps I could use that to identify a particular
version as a hack, but I specifically am curious about the ldc
version because of a change they made there independently of D.
Is there something I don't know about?
More information about the Digitalmars-d-learn
mailing list