Public Types | Static Public Member Functions | List of all members
absl::container_internal::FlatHashMapPolicy< K, V > Struct Template Reference

#include <flat_hash_map.h>

Public Types

using init_type = std::pair< key_type, mapped_type >
 
using key_type = K
 
using mapped_type = V
 
using slot_policy = container_internal::map_slot_policy< K, V >
 
using slot_type = typename slot_policy::slot_type
 

Static Public Member Functions

template<class Allocator , class... Args>
static void construct (Allocator *alloc, slot_type *slot, Args &&...args)
 
template<class Allocator >
static void destroy (Allocator *alloc, slot_type *slot)
 
static std::pair< const K, V > & element (slot_type *slot)
 
static size_t space_used (const slot_type *)
 
template<class Allocator >
static void transfer (Allocator *alloc, slot_type *new_slot, slot_type *old_slot)
 
static V & value (std::pair< const K, V > *kv)
 
static const V & value (const std::pair< const K, V > *kv)
 

Detailed Description

template<class K, class V>
struct absl::container_internal::FlatHashMapPolicy< K, V >

Definition at line 47 of file flat_hash_map.h.

Member Typedef Documentation

template<class K , class V >
using absl::container_internal::FlatHashMapPolicy< K, V >::init_type = std::pair< key_type, mapped_type>

Definition at line 538 of file flat_hash_map.h.

template<class K , class V >
using absl::container_internal::FlatHashMapPolicy< K, V >::key_type = K

Definition at line 536 of file flat_hash_map.h.

template<class K , class V >
using absl::container_internal::FlatHashMapPolicy< K, V >::mapped_type = V

Definition at line 537 of file flat_hash_map.h.

Definition at line 534 of file flat_hash_map.h.

template<class K , class V >
using absl::container_internal::FlatHashMapPolicy< K, V >::slot_type = typename slot_policy::slot_type

Definition at line 535 of file flat_hash_map.h.

Member Function Documentation

template<class K , class V >
template<class Allocator , class... Args>
static void absl::container_internal::FlatHashMapPolicy< K, V >::construct ( Allocator *  alloc,
slot_type slot,
Args &&...  args 
)
inlinestatic

Definition at line 541 of file flat_hash_map.h.

template<class K , class V >
template<class Allocator >
static void absl::container_internal::FlatHashMapPolicy< K, V >::destroy ( Allocator *  alloc,
slot_type slot 
)
inlinestatic

Definition at line 546 of file flat_hash_map.h.

template<class K , class V >
static std::pair<const K, V>& absl::container_internal::FlatHashMapPolicy< K, V >::element ( slot_type slot)
inlinestatic

Definition at line 566 of file flat_hash_map.h.

template<class K , class V >
static size_t absl::container_internal::FlatHashMapPolicy< K, V >::space_used ( const slot_type )
inlinestatic

Definition at line 564 of file flat_hash_map.h.

template<class K , class V >
template<class Allocator >
static void absl::container_internal::FlatHashMapPolicy< K, V >::transfer ( Allocator *  alloc,
slot_type new_slot,
slot_type old_slot 
)
inlinestatic

Definition at line 551 of file flat_hash_map.h.

template<class K , class V >
static V& absl::container_internal::FlatHashMapPolicy< K, V >::value ( std::pair< const K, V > *  kv)
inlinestatic

Definition at line 568 of file flat_hash_map.h.

template<class K , class V >
static const V& absl::container_internal::FlatHashMapPolicy< K, V >::value ( const std::pair< const K, V > *  kv)
inlinestatic

Definition at line 569 of file flat_hash_map.h.


The documentation for this struct was generated from the following file:


abseil_cpp
Author(s):
autogenerated on Tue Jun 18 2019 19:44:38