Const type function and operator overloading

Why are the functions defined as const type and I am having trouble understanding the hash function that is created.

Cna you please post the timestamp at which this concept is being discussed?