New hash

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Mar 23 21:28:05 PDT 2012


On 3/24/12, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
> Anyways, this doesn't seem to work.

Another bug:

struct Foo {
    string s;
}
AA!(string, Foo) test;

newAA.d(378): Error: template newAA.toHash(T) if (is(T == char) ||
is(T == const(char)) || is(T == immutable(char))) toHash(T) if (is(T
== char) || is(T == const(char)) || is(T == immutable(char))) matches
more than one template declaration, newAA.d(1276):toHash(T) if (!is(T
U : U[]) && T.sizeof > (int).sizeof) and newAA.d(1284):toHash(S) if
(is(S == struct))


More information about the Digitalmars-d mailing list