[Issue 12107] New: Add ability to use dynamic array for `std.stdio.File.byChunk` as return type for chunk

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 8 06:34:41 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12107

           Summary: Add ability to use dynamic array for
                    `std.stdio.File.byChunk` as return type for chunk
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: ilya-stromberg-2009 at yandex.ru


--- Comment #0 from ilya-stromberg <ilya-stromberg-2009 at yandex.ru> 2014-02-08 06:33:38 PST ---
It can be useful for many cases. For example, it allows to avoid unnecessary
chunk copy if I already have a buffer. As little bonus, it lets to use
`std.allocator` for memory allocation.

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


More information about the Digitalmars-d-bugs mailing list