template<class Key, class T, class H = Hash<Key>, class EQ = equal_to<Key>, class A = allocator< pair<const Key,T>>> class hash_map { // 与map类似,除了: typedef H Hasher; typedef EQ key_equal; hash_map(const T& dv=T(), size_type n =101, const H& hf=H(), const EQ& =EQ()); template<class In> hash_map(In first, In last, const T& dv=T(), size_type n = 101, const H& hf =H(), const EQ& =EQ()); };