digitalmars.D.bugs - [Issue 18925] New: core.internal.hash auto-hash for structs of
- d-bugmail puremagic.com (22/22) May 31 2018 https://issues.dlang.org/show_bug.cgi?id=18925
https://issues.dlang.org/show_bug.cgi?id=18925 Issue ID: 18925 Summary: core.internal.hash auto-hash for structs of scalar fields should be ` safe` Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: n8sh.secondary hotmail.com Currently doesn't work: safe unittest { import core.internal.hash : hashOf; static struct S { int a; int b; } auto h = hashOf(S.init); } --
May 31 2018