On 2015-03-15 16:22:03 +0000, Marc Schütz said:

For whatever reasons, format() used to be defined in std.string. Indeed it's unintuitive to have it there, and it also pulls in lots of other unrelated things like Unicode tables when you import std.string. That's why it was moved into std.format in this PR:

https://github.com/D-Programming-Language/phobos/pull/2732

It will be available in 2.067, soon to be released.

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)?

--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster

Reply via email to