added HashTable::clearStorage() for symmetry with DynamicList

This commit is contained in:
Mark Olesen
2008-12-12 09:48:51 +01:00
parent cc571ba111
commit 8a5931f15a
3 changed files with 57 additions and 76 deletions

View File

@ -456,6 +456,14 @@ void HashTable<T, Key, Hash>::clear()
}
template<class T, class Key, class Hash>
void HashTable<T, Key, Hash>::clearStorage()
{
clear();
resize(0);
}
template<class T, class Key, class Hash>
void HashTable<T, Key, Hash>::transfer(HashTable<T, Key, Hash>& ht)
{