www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6597] New: to!SomeString should use std.format.formatValue

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6597

           Summary: to!SomeString should use std.format.formatValue
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: k.hara.pg gmail.com



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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 02 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6597


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



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.

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