Changeset 12328 in webkit for trunk/JavaScriptCore/kxmlcore/HashSet.h
- Timestamp:
- Jan 23, 2006, 10:24:11 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kxmlcore/HashSet.h
r12321 r12328 31 31 32 32 template <typename T> 33 inline const T& identityExtract(const T& t) 34 { 35 return t; 36 } 37 33 struct IdentityExtractor 34 { 35 static const T& extract(const T& t) 36 { 37 return t; 38 } 39 }; 38 40 39 41 template<typename Value, typename T, typename HashSetTranslator> … … 59 61 class HashSet { 60 62 private: 61 typedef HashTable<Value, Value, identityExtract<Value>, HashFunctions, Traits, Traits> ImplType;63 typedef HashTable<Value, Value, IdentityExtractor<Value>, HashFunctions, Traits, Traits> ImplType; 62 64 public: 63 65 typedef Value ValueType;
Note:
See TracChangeset
for help on using the changeset viewer.