Using std.format required std.string?
Mike Parker via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Mar 15 21:32:47 PDT 2015
On Monday, 16 March 2015 at 04:31:19 UTC, Mike Parker wrote:
> 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 ) {
> ...
> }
Ugh. 2067, not 2.067.
More information about the Digitalmars-d-learn
mailing list