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