Need help locating AA bug
newshound2 at digitalmars.com
Mon Feb 27 21:15:45 PST 2012
On 2/27/2012 5:28 PM, H. S. Teoh wrote:
> 1) Why does map2's internal TypeInfo get set to int instead of
There shouldn't be any difference, as far as aa's go.
> 2) Why does map1[key] use int's version of getHash() even though
> map1's TypeInfo actually points to const(int)?
There should be no difference in the hash value for an int and a const(int).
More information about the Digitalmars-d