Bug 18766 – std.typecons.Tuple.toHash could be improved

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-04-16T20:40:37Z
Last change time
2018-05-02T23:53:44Z
Assigned to
No Owner
Creator
Nathan S.

Comments

Comment #0 by n8sh.secondary — 2018-04-16T20:40:37Z
Current std.typecons.Tuple has a custom `toHash` that is just the sum of the hashes of the tuple's fields.
Comment #1 by n8sh.secondary — 2018-04-16T21:03:24Z
Comment #2 by github-bugzilla — 2018-05-02T23:53:43Z
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/307ac7e4628c0cf4bb7f4e6efdfa62076754a6f2 Fix Issue 18766 - std.typecons.Tuple.toHash could be improved https://github.com/dlang/phobos/commit/79b8fd63adf003144e3c45ed15694736c9d109d9 Merge pull request #6457 from n8sh/issue-18766 Fix Issue 18766 - std.typecons.Tuple.toHash could be improved