//set上层struct SetOfKey{constK&operator()(constK&key)const{returnkey;}};typedef HashNode<K>Node;typedef HashTable<K,K,Hash,SetOfKey>HT;//map上层struct MapOfKey{constK&operator()(constpair<K,V>&kv)const{returnkv.first;}};typedef HashNode<pair<K,V>>Node;typedef HashTable<K,pair<K,...