Bug 6597 – to!SomeString should use std.format.formatValue

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-09-02T12:00:00Z
Last change time
2012-05-12T06:52:35Z
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2011-09-02T12:00:03Z
I have posted two pull requests around value formatting/unformatting features. (They are yet not merged.) Improve std.format.formatValue https://github.com/D-Programming-Language/phobos/pull/126 Improve value unformatting https://github.com/D-Programming-Language/phobos/pull/208 After their merging into Phobos, std.conv.to can use them for value to string. I think we should consolidate formatting/unformatting functions into std.format.
Comment #1 by k.hara.pg — 2012-05-12T06:52:35Z
I have posted a pull request to fix this issue: https://github.com/D-Programming-Language/phobos/pull/236 And it was merged in dmd 2.057.