www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12060] New: Add ability to use dynamic array for `std.digest.*` as return type for hash

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

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


--- Comment #0 from ilya-stromberg <ilya-stromberg-2009 yandex.ru> 2014-02-02
03:40:03 PST ---
It can be useful for many cases. For example, it allows to avoid unnecessary
hash copy for Template API. Also, it can help to avoid unnecessary memory
allocation for OOP API. 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: -------
Feb 02 2014