Re: website update

2015-08-10 Thread bachmeier via Digitalmars-d-learn
On Monday, 10 August 2015 at 11:20:32 UTC, tcak wrote: On Monday, 10 August 2015 at 10:34:56 UTC, Tony wrote: 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() { retu

Re: website update

2015-08-10 Thread tcak via Digitalmars-d-learn
On Monday, 10 August 2015 at 10:34:56 UTC, Tony wrote: 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) { F

website update

2015-08-10 Thread Tony via Digitalmars-d-learn
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 &