[Issue 10868] std.string.translate should take an optional buffer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 22 09:06:41 PDT 2013


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


Brad Anderson <eco at gnuk.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eco at gnuk.net


--- Comment #5 from Brad Anderson <eco at gnuk.net> 2013-08-22 09:06:38 PDT ---
(In reply to comment #1)
> I think that we should move towards having pretty much any Phobos function
> which allocates an array (including strings) have an overload which takes an
> output range to write to instead. However, we should probably make sure that
> output ranges are appropriately ironed out before we do that heavily (e.g. we
> really need to have a clear way of asking whether an output range is full).
> Input ranges are used heavily, but output ranges have had much less attention
> and may need additional work before they're used that heavily.

Monarch's https://github.com/D-Programming-Language/phobos/pull/1439 improves
the Output Range situation quite a bit.

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