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

#include <container_memory.h>

Public Types

using mutable_value_type = std::pair< K, V >
 
using mutable_value_type = std::pair< K, V >
 
using slot_type = map_slot_type< K, V >
 
using slot_type = map_slot_type< K, V >
 
using value_type = std::pair< const K, V >
 
using value_type = std::pair< const K, V >
 

Static Public Member Functions

template<class Allocator , class... Args>
static void construct (Allocator *alloc, slot_type *slot, Args &&... args)
 
template<class Allocator , class... Args>
static void construct (Allocator *alloc, slot_type *slot, Args &&... args)
 
template<class Allocator >
static void construct (Allocator *alloc, slot_type *slot, const slot_type *other)
 
template<class Allocator >
static void construct (Allocator *alloc, slot_type *slot, slot_type *other)
 
template<class Allocator >
static void construct (Allocator *alloc, slot_type *slot, slot_type *other)
 
template<class Allocator >
static void destroy (Allocator *alloc, slot_type *slot)
 
template<class Allocator >
static void destroy (Allocator *alloc, slot_type *slot)
 
static const value_typeelement (const slot_type *slot)
 
static const value_typeelement (const slot_type *slot)
 
static value_typeelement (slot_type *slot)
 
static value_typeelement (slot_type *slot)
 
static const K & key (const slot_type *slot)
 
static const K & key (const slot_type *slot)
 
template<class Allocator >
static void move (Allocator *alloc, slot_type *src, slot_type *dest)
 
static const K & mutable_key (slot_type *slot)
 
static const K & mutable_key (slot_type *slot)
 
template<class Allocator >
static void swap (Allocator *alloc, slot_type *a, slot_type *b)
 
template<class Allocator >
static void transfer (Allocator *alloc, slot_type *new_slot, slot_type *old_slot)
 
template<class Allocator >
static void transfer (Allocator *alloc, slot_type *new_slot, slot_type *old_slot)
 

Private Types

using kMutableKeys = memory_internal::IsLayoutCompatible< K, V >
 
using kMutableKeys = memory_internal::IsLayoutCompatible< K, V >
 

Static Private Member Functions

static void emplace (slot_type *slot)
 
static void emplace (slot_type *slot)
 

Detailed Description

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

Definition at line 340 of file abseil-cpp/absl/container/internal/container_memory.h.

Member Typedef Documentation

◆ kMutableKeys [1/2]

template<class K , class V >
using absl::container_internal::map_slot_policy< K, V >::kMutableKeys = memory_internal::IsLayoutCompatible<K, V>
private

◆ kMutableKeys [2/2]

template<class K , class V >
using absl::container_internal::map_slot_policy< K, V >::kMutableKeys = memory_internal::IsLayoutCompatible<K, V>
private

◆ mutable_value_type [1/2]

template<class K , class V >
using absl::container_internal::map_slot_policy< K, V >::mutable_value_type = std::pair<K, V>

◆ mutable_value_type [2/2]

template<class K , class V >
using absl::container_internal::map_slot_policy< K, V >::mutable_value_type = std::pair<K, V>

◆ slot_type [1/2]

template<class K , class V >
using absl::container_internal::map_slot_policy< K, V >::slot_type = map_slot_type<K, V>

◆ slot_type [2/2]

template<class K , class V >
using absl::container_internal::map_slot_policy< K, V >::slot_type = map_slot_type<K, V>

◆ value_type [1/2]

template<class K , class V >
using absl::container_internal::map_slot_policy< K, V >::value_type = std::pair<const K, V>

◆ value_type [2/2]

template<class K , class V >
using absl::container_internal::map_slot_policy< K, V >::value_type = std::pair<const K, V>

Member Function Documentation

◆ construct() [1/5]

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

◆ construct() [2/5]

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

◆ construct() [3/5]

template<class K , class V >
template<class Allocator >
static void absl::container_internal::map_slot_policy< K, V >::construct ( Allocator *  alloc,
slot_type slot,
const slot_type other 
)
inlinestatic

◆ construct() [4/5]

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

◆ construct() [5/5]

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

◆ destroy() [1/2]

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

◆ destroy() [2/2]

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

◆ element() [1/4]

template<class K , class V >
static const value_type& absl::container_internal::map_slot_policy< K, V >::element ( const slot_type slot)
inlinestatic

◆ element() [2/4]

template<class K , class V >
static const value_type& absl::container_internal::map_slot_policy< K, V >::element ( const slot_type slot)
inlinestatic

◆ element() [3/4]

template<class K , class V >
static value_type& absl::container_internal::map_slot_policy< K, V >::element ( slot_type slot)
inlinestatic

◆ element() [4/4]

template<class K , class V >
static value_type& absl::container_internal::map_slot_policy< K, V >::element ( slot_type slot)
inlinestatic

◆ emplace() [1/2]

template<class K , class V >
static void absl::container_internal::map_slot_policy< K, V >::emplace ( slot_type slot)
inlinestaticprivate

◆ emplace() [2/2]

template<class K , class V >
static void absl::container_internal::map_slot_policy< K, V >::emplace ( slot_type slot)
inlinestaticprivate

◆ key() [1/2]

template<class K , class V >
static const K& absl::container_internal::map_slot_policy< K, V >::key ( const slot_type slot)
inlinestatic

◆ key() [2/2]

template<class K , class V >
static const K& absl::container_internal::map_slot_policy< K, V >::key ( const slot_type slot)
inlinestatic

◆ move()

template<class K , class V >
template<class Allocator >
static void absl::container_internal::map_slot_policy< K, V >::move ( Allocator *  alloc,
slot_type src,
slot_type dest 
)
inlinestatic

◆ mutable_key() [1/2]

template<class K , class V >
static const K& absl::container_internal::map_slot_policy< K, V >::mutable_key ( slot_type slot)
inlinestatic

◆ mutable_key() [2/2]

template<class K , class V >
static const K& absl::container_internal::map_slot_policy< K, V >::mutable_key ( slot_type slot)
inlinestatic

◆ swap()

template<class K , class V >
template<class Allocator >
static void absl::container_internal::map_slot_policy< K, V >::swap ( Allocator *  alloc,
slot_type a,
slot_type b 
)
inlinestatic

◆ transfer() [1/2]

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

◆ transfer() [2/2]

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

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:39