website update

Tony via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 10 03:34:55 PDT 2015


It looks like this page:

http://dlang.org/hash-map.html

Should have the override keyword added the the member functions 
in Foo:

class Foo
{
     int a, b;

     size_t toHash() { return a + b; }

     bool opEquals(Object o)
     {
         Foo foo = cast(Foo) o;
         return foo && a == foo.a && b == foo.b;
     }
}


More information about the Digitalmars-d-learn mailing list