HashTable class missed operator[]

This commit is contained in:
Dennis Luxen 2011-03-30 15:38:32 +00:00
parent ed608f9f13
commit 08661558f2

View File

@ -56,6 +56,10 @@ public:
table.clear(); table.clear();
} }
inline
valueT & operator[] (keyT key) {
return table[key];
}
private: private:
MyHashTable table; MyHashTable table;
}; };