RavEngine
Loading...
Searching...
No Matches
phmap::priv::NodeHashSetPolicy< T > Struct Template Reference
Inheritance diagram for phmap::priv::NodeHashSetPolicy< T >:
[legend]
Collaboration diagram for phmap::priv::NodeHashSetPolicy< T >:
[legend]

Public Types

using key_type = T
 
using init_type = T
 
using constant_iterators = std::true_type
 
- Public Types inherited from phmap::priv::node_hash_policy< T &, NodeHashSetPolicy< T > >
using slot_type = typename std::remove_cv< typename std::remove_reference< T & >::type >::type *
 

Static Public Member Functions

template<class Allocator , class... Args>
static T * new_element (Allocator *alloc, Args &&... args)
 
template<class Allocator >
static void delete_element (Allocator *alloc, T *elem)
 
template<class F , class... Args>
static decltype(phmap::priv::DecomposeValue(std::declval< F >(), std::declval< Args >()...)) apply (F &&f, Args &&... args)
 
static size_t element_space_used (const T *)
 
- Static Public Member Functions inherited from phmap::priv::node_hash_policy< T &, NodeHashSetPolicy< T > >
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 T & 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 struct was generated from the following file: