1 template<class K, class V> 2 class Entry : public K 3 { 4 V mData; 5 }; 6 7 template<typename K, typename V> 8 class nsBaseHashtable { 9 typedef Entry<K, V> EntryType; 10 11 struct EntryPtr { 12 private: 13 EntryType& mEntry; 14 bool mExistingEntry; 15 }; 16 }; 17