www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19562] New: core.internal.hash.hashOf array of pointers

https://issues.dlang.org/show_bug.cgi?id=19562

          Issue ID: 19562
           Summary: core.internal.hash.hashOf array of pointers should be
                    ` safe`
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: n8sh.secondary hotmail.com

Currently does not work:
----
void main()  nogc nothrow pure  safe
{
    void*[10] a;
    size_t h = hashOf(a[]);
}
----

--
Jan 08