Searched defs:LinkedHashSetTraits (Results 1 – 1 of 1) sorted by relevance
301 struct LinkedHashSetTraits : public SimpleClassHashTraits<LinkedHashSetNode<Value> > { struct302 typedef LinkedHashSetNode<Value> Node;303 typedef ValueTraitsArg ValueTraits;307 static const bool emptyValueIsZero = true;309 static const bool hasIsEmptyValueFunction = true;310 static bool isEmptyValue(const Node& node) { return !node.m_next; } in isEmptyValue()312 static const int deletedValue = -1;314 …tic void constructDeletedValue(Node& slot) { slot.m_next = reinterpret_cast<Node*>(deletedValue); } in constructDeletedValue()315 …l isDeletedValue(const Node& slot) { return slot.m_next == reinterpret_cast<Node*>(deletedValue); } in isDeletedValue()319 static const bool needsDestruction = true;[all …]