digitalmars.D - Inconsistent hashing schemes for various typeinfos
- H. S. Teoh (6/6) Mar 15 2012 What's the reason that getHash is implemented in incompatible ways
What's the reason that getHash is implemented in incompatible ways between TypeInfo_Array and the various hard-coded array types (e.g., TypeInfo_Aa.getHash)? Shouldn't hashOf() be used universally? T -- If you look at a thing nine hundred and ninety-nine times, you are perfectly safe; if you look at it the thousandth time, you are in frightful danger of seeing it for the first time. -- G. K. Chesterton
Mar 15 2012