[Issue 18680] std.random.LinearCongruentialEngine has opEquals but no toHash

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 17 00:25:26 UTC 2018


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

Nathan S. <n8sh.secondary at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n8sh.secondary at hotmail.com

--- Comment #1 from Nathan S. <n8sh.secondary at hotmail.com> ---
The proper fix is to remove `opEquals` from LinearCongruentialEngine since it
does the same thing as default struct comparison.

--


More information about the Digitalmars-d-bugs mailing list