[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 14:40:38 PDT 2012


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



--- Comment #13 from bearophile_hugs at eml.cc 2012-04-20 14:41:35 PDT ---
This seems another example of the same problem:


import std.stdio: writeln;
import std.conv: text;
struct Foo {}
void main() {
    Foo* f = new Foo;
    writeln(f);
    writeln(text(f));
}


Output:

15D2FD0
22884304

Expected output:

15D2FD0
15D2FD0

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