[Issue 4532] std.string.format, std.stream methods, etc. still use the old doFormat instead of formattedWrite

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 20 16:28:34 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=4532



--- Comment #15 from Stewart Gordon <smjg at iname.com> 2012-04-20 16:29:30 PDT ---
(In reply to comment #13)

text is just to!string wrapped in a variadic template to support multiple
arguments.  The implementation of to!string for pointer types (line 1259 in
conv.d, in 2.059) converts it to a size_t, which is an integral type, leading
to it being formatted as decimal.

I'm not sure whether it's related or not.  But what it does show is that we
need to investigate the long chains of template instantiations all these
various functions go through.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list