www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18766] New: std.typecons.Tuple.toHash could be improved

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

          Issue ID: 18766
           Summary: std.typecons.Tuple.toHash could be improved
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: n8sh.secondary hotmail.com

Current std.typecons.Tuple has a custom `toHash` that is just the sum of the
hashes of the tuple's fields.

--
Apr 16 2018