D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6597 - to!SomeString should use std.format.formatValue
Summary: to!SomeString should use std.format.formatValue
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P2 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-02 12:00 UTC by Kenji Hara
Modified: 2012-05-12 06:52 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kenji Hara 2011-09-02 12:00:03 UTC
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 Kenji Hara 2012-05-12 06:52:35 UTC
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.