New hash

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Mar 23 18:39:35 PDT 2012


I thought I'd open this topic for discussion of issues with the new
hash implementation.

Anyways, this doesn't seem to work:

AA!(string,int[]) hash;

D:\dev\projects\New-AA-implementation>rdmd
-ID:\DMD\dmd2\src\druntime\src newAATest.d
newAA.d(581): Error: template
newAA.AA!(string,int[]).AssociativeArray.Slot.__ctor(K) if
(keyCompat!(K)) cannot deduce template function from argument types
!()(const(uint),const(immutable(char)[]),const(int[]),Slot*)
newAA.d(581): Error: no constructor for Slot
newAATest.d(33): Error: template instance newAA.AA!(string,int[])
error instantiating
Failed: "dmd" "-ID:\DMD\dmd2\src\druntime\src" "-v" "-o-" "newAATest.d" "-I."
>Exit code: 1


More information about the Digitalmars-d mailing list