struct
str_hash{
12
size_t
operator()(
const
string& str)
13
{
14
unsigned
long
__h = 0;
15
for
(
i = 0 ; i < str.size() ; i ++)
16
__h = 5*__h + str[i];
17
return
(__h);
18
}
19
};求解释,求讲解