RavEngine
Loading...
Searching...
No Matches
phmap::priv::NodeHashMapPolicy< Key, Value > Class Template Reference
Inheritance diagram for phmap::priv::NodeHashMapPolicy< Key, Value >:
[legend]
Collaboration diagram for phmap::priv::NodeHashMapPolicy< Key, Value >:
[legend]

Public Types

using key_type = Key
 
using mapped_type = Value
 
using init_type = std::pair< key_type, mapped_type >
 
- Public Types inherited from phmap::priv::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 , class... Args>
static value_type * new_element (Allocator *alloc, Args &&... args)
 
template<class Allocator >
static void delete_element (Allocator *alloc, value_type *pair)
 
template<class F , class... Args>
static decltype(phmap::priv::DecomposePair(std::declval< F >(), std::declval< Args >()...)) apply (F &&f, Args &&... args)
 
static size_t element_space_used (const value_type *)
 
static Value & value (value_type *elem)
 
static const Value & value (const value_type *elem)
 
- Static Public Member Functions inherited from phmap::priv::node_hash_policy< std::pair< const Key, Value > &, NodeHashMapPolicy< Key, Value > >
static void construct (Alloc *alloc, slot_type *slot, Args &&... args)
 
static void destroy (Alloc *alloc, slot_type *slot)
 
static void transfer (Alloc *, slot_type *new_slot, slot_type *old_slot)
 
static size_t space_used (const slot_type *slot)
 
static std::pair< const Key, Value > & element (slot_type *slot)
 
static auto value (T *elem) -> decltype(P::value(elem))
 
static auto apply (Ts &&... ts) -> decltype(P::apply(std::forward< Ts >(ts)...))
 

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