Public Types | Static Public Member Functions | Private Types | List of all members
absl::container_internal::NodeHashMapPolicy< Key, Value > Class Template Reference

#include <node_hash_map.h>

Inheritance diagram for absl::container_internal::NodeHashMapPolicy< Key, Value >:
Inheritance graph
[legend]

Public Types

using init_type = std::pair< key_type, mapped_type >
 
using key_type = Key
 
using mapped_type = Value
 
- Public Types inherited from absl::container_internal::node_hash_policy< std::pair< const Key, Value > &, NodeHashMapPolicy< Key, Value > >
using slot_type = typename std::remove_cv< typename std::remove_reference< std::pair< const Key, Value > & >::type >::type *
 

Static Public Member Functions

template<class Allocator >
static void delete_element (Allocator *alloc, value_type *pair)
 
static size_t element_space_used (const value_type *)
 
template<class Allocator , class... Args>
static value_typenew_element (Allocator *alloc, Args &&... args)
 
static Value & value (value_type *elem)
 
static const Value & value (const value_type *elem)
 
- Static Public Member Functions inherited from absl::container_internal::node_hash_policy< std::pair< const Key, Value > &, NodeHashMapPolicy< Key, Value > >
static auto apply (Ts &&... ts) -> decltype(P::apply(std::forward< Ts >(ts)...))
 
static void construct (Alloc *alloc, slot_type *slot, Args &&... args)
 
static void destroy (Alloc *alloc, slot_type *slot)
 
static std::pair< const Key, Value > & element (slot_type *slot)
 
static size_t space_used (const slot_type *slot)
 
static void transfer (Alloc *, slot_type *new_slot, slot_type *old_slot)
 
static auto value (T *elem) -> decltype(P::value(elem))
 

Private Types

using value_type = std::pair< const Key, Value >
 

Detailed Description

template<class Key, class Value>
class absl::container_internal::NodeHashMapPolicy< Key, Value >

Definition at line 53 of file node_hash_map.h.

Member Typedef Documentation

◆ init_type

template<class Key , class Value >
using absl::container_internal::NodeHashMapPolicy< Key, Value >::init_type = std::pair< key_type, mapped_type>

Definition at line 531 of file node_hash_map.h.

◆ key_type

template<class Key , class Value >
using absl::container_internal::NodeHashMapPolicy< Key, Value >::key_type = Key

Definition at line 529 of file node_hash_map.h.

◆ mapped_type

template<class Key , class Value >
using absl::container_internal::NodeHashMapPolicy< Key, Value >::mapped_type = Value

Definition at line 530 of file node_hash_map.h.

◆ value_type

template<class Key , class Value >
using absl::container_internal::NodeHashMapPolicy< Key, Value >::value_type = std::pair<const Key, Value>
private

Definition at line 526 of file node_hash_map.h.

Member Function Documentation

◆ delete_element()

template<class Key , class Value >
template<class Allocator >
static void absl::container_internal::NodeHashMapPolicy< Key, Value >::delete_element ( Allocator *  alloc,
value_type pair 
)
inlinestatic

Definition at line 546 of file node_hash_map.h.

◆ element_space_used()

template<class Key , class Value >
static size_t absl::container_internal::NodeHashMapPolicy< Key, Value >::element_space_used ( const value_type )
inlinestatic

Definition at line 562 of file node_hash_map.h.

◆ new_element()

template<class Key , class Value >
template<class Allocator , class... Args>
static value_type* absl::container_internal::NodeHashMapPolicy< Key, Value >::new_element ( Allocator *  alloc,
Args &&...  args 
)
inlinestatic

Definition at line 534 of file node_hash_map.h.

◆ value() [1/2]

template<class Key , class Value >
static Value& absl::container_internal::NodeHashMapPolicy< Key, Value >::value ( value_type elem)
inlinestatic

Definition at line 566 of file node_hash_map.h.

◆ value() [2/2]

template<class Key , class Value >
static const Value& absl::container_internal::NodeHashMapPolicy< Key, Value >::value ( const value_type elem)
inlinestatic

Definition at line 567 of file node_hash_map.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22