Hi,
In the documentation it is suggested that a custom hash function object might be:
struct MyHashGenerator { int generateHash (MyKeyType key, int upperLimit) { } };
But it doesn't compile (discards qualifers), as generateHash needs to be declared const:
struct MyHashGenerator { int generateHash (MyKeyType key, int upperLimit) const { } };
Is this a Typo or is there something obvious i didn't get?
(Xcode 3.2.6 / LLVM compiler 1.7)
