Using std.format required std.string?
Mike Parker via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Mar 15 21:31:17 PDT 2015
On Sunday, 15 March 2015 at 17:36:24 UTC, Robert M. Münch wrote:
>
> Ok, good to here. Didn't cath/remember this one.
>
> Is there a way to use "version(...)" to have code sections
> depending on compiler version? Something like:
>
> version(dmd >= 2.067) or version(dmd < 2.067)?
static if( __VERSION__ >= 2.067 ) {
...
}
This works with any D compiler using the DMD frontend.
More information about the Digitalmars-d-learn
mailing list