std.string.format results in run-time exception
kenji hara
k.hara.pg at gmail.com
Sat Jun 30 11:49:48 PDT 2012
2012/7/1 d coder <dlang.coder at gmail.com>:
> Thanks Kenji, I will use xformat. BTW, why is it named "x"format? Would not
> "s"format be a better name? Where "s" could stand for string.
eXtended format.
> Also I feel, std.string.format should work for BitArray and BigInt too. Both
> these types are defined as part of phobos.
We couldn't replace the implementation of std.string.format directly.
See the discussion:
https://github.com/D-Programming-Language/phobos/pull/231
But, in the future, xformat would be renamed to format.
Kenji Hara
More information about the Digitalmars-d
mailing list