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 slot_type = map_slot_type< 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 >
static void construct (Allocator *alloc, slot_type *slot, slot_type *other)
 
template<class Allocator >
static void destroy (Allocator *alloc, slot_type *slot)
 
static value_typeelement (slot_type *slot)
 
static const value_typeelement (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)
 
template<class Allocator >
static void move (Allocator *alloc, slot_type *first, slot_type *last, slot_type *result)
 
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)
 

Private Types

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

Static Private Member Functions

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 326 of file container_memory.h.

Member Typedef Documentation

◆ kMutableKeys

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

Definition at line 340 of file container_memory.h.

◆ mutable_value_type

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

Definition at line 329 of file container_memory.h.

◆ slot_type

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

Definition at line 327 of file container_memory.h.

◆ value_type

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

Definition at line 328 of file container_memory.h.

Member Function Documentation

◆ construct() [1/2]

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

Definition at line 353 of file container_memory.h.

◆ construct() [2/2]

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

Definition at line 366 of file container_memory.h.

◆ destroy()

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

Definition at line 378 of file container_memory.h.

◆ element() [1/2]

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

Definition at line 343 of file container_memory.h.

◆ element() [2/2]

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

Definition at line 344 of file container_memory.h.

◆ emplace()

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

Definition at line 332 of file container_memory.h.

◆ key()

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

Definition at line 348 of file container_memory.h.

◆ move() [1/2]

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

Definition at line 417 of file container_memory.h.

◆ move() [2/2]

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

Definition at line 428 of file container_memory.h.

◆ 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

Definition at line 401 of file container_memory.h.

◆ transfer()

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

Definition at line 387 of file container_memory.h.


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


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