Hashing implementation doubt

what are the mistakes in this code ?

@yatin
The code seems to working fine. Are you facing any difficulty with this code ?

do we need to declare template just before defining class and before class wherever we are using it or just defining it once at the top

@yatin
We need to declare it everytime since it is possible we might be using multiple templates for different classes in our program. Hence we are required to declare it seperately for every class.

ok sirgot it thank you