Hashfunction for custom class

why have we overloaded size_t ?? am not getting the idea of overloading it…can’t we simply make a hashfunction that would return length of first name+length of last name…

Hi Garvit, size_t is not overloaded, instead it is the return type which is analogous to unsigned int.