RavEngine
Loading...
Searching...
No Matches
phmap::priv::FlatHashMapPolicy< K, V > Struct Template Reference

Public Types

using slot_policy = priv::map_slot_policy< K, V >
 
using slot_type = typename slot_policy::slot_type
 
using key_type = K
 
using mapped_type = V
 
using init_type = std::pair< key_type, mapped_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)
 
template<class Allocator >
static void transfer (Allocator *alloc, slot_type *new_slot, slot_type *old_slot)
 
template<class F , class... Args>
static decltype(phmap::priv::DecomposePair(std::declval< F >(), std::declval< Args >()...)) apply (F &&f, Args &&... args)
 
static size_t space_used (const slot_type *)
 
static std::pair< const K, V > & element (slot_type *slot)
 
static V & value (std::pair< const K, V > *kv)
 
static const V & value (const std::pair< const K, V > *kv)
 

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