would http://dlang.org/lex.html#specialtokens __VERSION__ and a
static if help?
On Sat, Aug 03, 2013 at 11:09:08AM -0700, H. S. Teoh wrote:
> What's the way to determine the version of the compiler being used to
> compile a program?
>
> I'm trying to make code compile with 2.063, that currently only works in
> git HEAD because of an improvement in Phobos. I'd like to be able
What's the way to determine the version of the compiler being used to
compile a program?
I'm trying to make code compile with 2.063, that currently only works in
git HEAD because of an improvement in Phobos. I'd like to be able to
somehow version() the compatibility code out in versions later than