Lines Matching defs:FlatHashMapPolicy
547 struct FlatHashMapPolicy { struct
548 using slot_policy = container_internal::map_slot_policy<K, V>;
549 using slot_type = typename slot_policy::slot_type;
550 using key_type = K;
551 using mapped_type = V;
552 using init_type = std::pair</*non const*/ key_type, mapped_type>;
555 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) { in construct()
560 static void destroy(Allocator* alloc, slot_type* slot) { in destroy()
565 static void transfer(Allocator* alloc, slot_type* new_slot, in transfer()
571 static decltype(absl::container_internal::DecomposePair( in decltype()
578 static size_t space_used(const slot_type*) { return 0; } in space_used()
580 static std::pair<const K, V>& element(slot_type* slot) { return slot->value; } in element()
582 static V& value(std::pair<const K, V>* kv) { return kv->second; } in value()
583 static const V& value(const std::pair<const K, V>* kv) { return kv->second; } in value()