Using std.format required std.string?
Robert M. Münch via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Mar 15 10:36:24 PDT 2015
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
More information about the Digitalmars-d-learn
mailing list