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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 21 18:55:38 PDT 2013


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


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-08-21 18:55:37 PDT ---
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.

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