Changeset 18822 in webkit for trunk/JavaScriptCore/wtf/HashTraits.h
- Timestamp:
- Jan 12, 2007, 5:44:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/HashTraits.h
r17127 r18822 82 82 static long deletedValue() { return -1; } 83 83 }; 84 template<> struct HashTraits<unsigned long> : GenericHashTraits<unsigned long> { 85 static unsigned long deletedValue() { return static_cast<unsigned long>(-1); } 86 }; 84 87 template<> struct HashTraits<long long> : GenericHashTraits<long long> { 85 static long deletedValue() { return -1; } 86 }; 87 88 static long long deletedValue() { return -1; } 89 }; 90 template<> struct HashTraits<unsigned long> : GenericHashTraits<unsigned long long> { 91 static unsigned long long deletedValue() { return static_cast<unsigned long long>(-1); } 92 }; 93 88 94 template<typename P> struct HashTraits<P*> : GenericHashTraits<P*> { 89 95 typedef HashTraits<typename IntTypes<sizeof(P*)>::SignedType> StorageTraits;
Note:
See TracChangeset
for help on using the changeset viewer.