[Issue 10904] "%(%s %)" format string support for std.container.Array too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 27 05:19:50 PDT 2013


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


Dmitry Olshansky <dmitry.olsh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh at gmail.com


--- Comment #3 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-08-27 05:19:47 PDT ---
(In reply to comment #2)
> OK, confirmed that using opSlice (i.e., a2[]) works.
> 
> It's not as nice, though. We *could* implement a suitable version of toString
> that will get picked up by std.format without needing to write [].

Well, that would going way too long in the wrong direction. %(..%) prints
ranges, period. Leave containers alone :)

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