Home | History | Annotate | Download | only in wtf

Lines Matching defs:KeyTraits

275         typedef KeyTraitsArg KeyTraits;
277 typedef KeyValuePair<typename KeyTraits::TraitType, typename ValueTraits::TraitType> TraitType;
278 typedef KeyValuePair<typename KeyTraits::EmptyValueType, typename ValueTraits::EmptyValueType> EmptyValueType;
280 static const bool emptyValueIsZero = KeyTraits::emptyValueIsZero && ValueTraits::emptyValueIsZero;
281 static EmptyValueType emptyValue() { return KeyValuePair<typename KeyTraits::EmptyValueType, typename ValueTraits::EmptyValueType>(KeyTraits::emptyValue(), ValueTraits::emptyValue()); }
283 static const bool needsDestruction = KeyTraits::needsDestruction || ValueTraits::needsDestruction;
286 static const bool value = ShouldBeTraced<KeyTraits>::value || ShouldBeTraced<ValueTraits>::value;
288 static const WeakHandlingFlag weakHandlingFlag = (KeyTraits::weakHandlingFlag == WeakHandlingInCollections || ValueTraits::weakHandlingFlag == WeakHandlingInCollections) ? WeakHandlingInCollections : NoWeakHandlingInCollections;
290 static const unsigned minimumTableSize = KeyTraits::minimumTableSize;
294 KeyTraits::constructDeletedValue(slot.key, zeroValue);
299 static bool isDeletedValue(const TraitType& value) { return KeyTraits::isDeletedValue(value.key); }