Lines Matching defs:FlatHashMapPolicy
553 struct FlatHashMapPolicy { struct
554 using slot_policy = container_internal::map_slot_policy<K, V>;
555 using slot_type = typename slot_policy::slot_type;
556 using key_type = K;
557 using mapped_type = V;
558 using init_type = std::pair</*non const*/ key_type, mapped_type>;
561 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) { in construct()
566 static void destroy(Allocator* alloc, slot_type* slot) { in destroy()
571 static void transfer(Allocator* alloc, slot_type* new_slot, in transfer()
577 static decltype(absl::container_internal::DecomposePair( in decltype()
584 static size_t space_used(const slot_type*) { return 0; } in space_used()
586 static std::pair<const K, V>& element(slot_type* slot) { return slot->value; } in element()
588 static V& value(std::pair<const K, V>* kv) { return kv->second; } in value()
589 static const V& value(const std::pair<const K, V>* kv) { return kv->second; } in value()