|
|
| version 1.58.2.10, 2003/01/31 12:34:30 | version 1.58.2.12, 2003/02/03 15:57:43 |
|---|---|
| Line 105 public: | Line 105 public: |
| if(pair->code==code && pair->key==key) | if(pair->code==code && pair->key==key) |
| return pair->value; | return pair->value; |
| return 0; | return V(0); |
| } | } |
| /// put a [value] under the [key] if that [key] existed @returns existed or not | /// put a [value] under the [key] if that [key] existed @returns existed or not |
| Line 300 inline uint generic_hash_code(uint aresu | Line 300 inline uint generic_hash_code(uint aresu |
| /// Auto-object used to temporarily substituting/removing hash values | /// Auto-object used to temporarily substituting/removing hash values |
| template <typename K, typename V> | template <typename K, typename V> |
| class Temp_hash_value { | class Temp_hash_value { |
| Hash& fhash; | Hash<K, V>& fhash; |
| K fname; | K fname; |
| V saved_value; | V saved_value; |
| public: | public: |