digitalmars.D.learn - formattedWrite
- simendsjo (6/6) Aug 08 2011 I cannot find any string format() method in phobos.
- Vladimir Panteleev (5/6) Aug 08 2011 What's wrong with format() from std.string?
I cannot find any string format() method in phobos. Having to do: auto a = appender!string(); formattedWrite(a, "", ...); a.data seems unnecessary in many cases.
Aug 08 2011
On Mon, 08 Aug 2011 14:37:26 +0300, simendsjo <simendsjo gmail.com> wrote:I cannot find any string format() method in phobos.What's wrong with format() from std.string? -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Aug 08 2011
On 08.08.2011 13:37, Vladimir Panteleev wrote:On Mon, 08 Aug 2011 14:37:26 +0300, simendsjo <simendsjo gmail.com> wrote:Thanks, that was the function I was looking for. I just expected it to be in std.format (and I also looked in std.stdio).I cannot find any string format() method in phobos.What's wrong with format() from std.string?
Aug 08 2011
On 08.08.2011 13:41, simendsjo wrote:On 08.08.2011 13:37, Vladimir Panteleev wrote:Seems std.string.format is missing positional arguments..On Mon, 08 Aug 2011 14:37:26 +0300, simendsjo <simendsjo gmail.com> wrote:Thanks, that was the function I was looking for. I just expected it to be in std.format (and I also looked in std.stdio).I cannot find any string format() method in phobos.What's wrong with format() from std.string?
Aug 08 2011
On 08.08.2011 14:07, simendsjo wrote:On 08.08.2011 13:41, simendsjo wrote:http://d.puremagic.com/issues/show_bug.cgi?id=6455On 08.08.2011 13:37, Vladimir Panteleev wrote:Seems std.string.format is missing positional arguments..On Mon, 08 Aug 2011 14:37:26 +0300, simendsjo <simendsjo gmail.com> wrote:Thanks, that was the function I was looking for. I just expected it to be in std.format (and I also looked in std.stdio).I cannot find any string format() method in phobos.What's wrong with format() from std.string?
Aug 08 2011