Searched defs:RefPtrHashMapRawKeyTranslator (Results 1 – 1 of 1) sorted by relevance
32 struct RefPtrHashMapRawKeyTranslator { struct33 typedef typename ValueType::first_type KeyType;34 typedef typename ValueType::second_type MappedType;35 typedef typename ValueTraits::FirstTraits KeyTraits;36 typedef typename ValueTraits::SecondTraits MappedTraits;38 static unsigned hash(RawKeyType key) { return HashFunctions::hash(key); } in hash()39 static bool equal(const KeyType& a, RawKeyType b) { return HashFunctions::equal(a, b); } in equal()40 static void translate(ValueType& location, RawKeyType key, const MappedType& mapped) in translate()