Public Types | Static Public Member Functions | List of all members
absl::container_internal::node_hash_policy< Reference, Policy > Struct Template Reference

#include <node_hash_policy.h>

Public Types

using slot_type = typename std::remove_cv< typename std::remove_reference< Reference >::type >::type *
 

Static Public Member Functions

template<class... Ts, class P = Policy>
static auto apply (Ts &&...ts) -> decltype(P::apply(std::forward< Ts >(ts)...))
 
template<class Alloc , class... Args>
static void construct (Alloc *alloc, slot_type *slot, Args &&...args)
 
template<class Alloc >
static void destroy (Alloc *alloc, slot_type *slot)
 
static Reference element (slot_type *slot)
 
static size_t space_used (const slot_type *slot)
 
template<class Alloc >
static void transfer (Alloc *, slot_type *new_slot, slot_type *old_slot)
 
template<class T , class P = Policy>
static auto value (T *elem) -> decltype(P::value(elem))
 

Detailed Description

template<class Reference, class Policy>
struct absl::container_internal::node_hash_policy< Reference, Policy >

Definition at line 46 of file node_hash_policy.h.

Member Typedef Documentation

template<class Reference, class Policy>
using absl::container_internal::node_hash_policy< Reference, Policy >::slot_type = typename std::remove_cv< typename std::remove_reference<Reference>::type>::type*

Definition at line 50 of file node_hash_policy.h.

Member Function Documentation

template<class Reference, class Policy>
template<class... Ts, class P = Policy>
static auto absl::container_internal::node_hash_policy< Reference, Policy >::apply ( Ts &&...  ts) -> decltype(P::apply(std::forward<Ts>(ts)...))
inlinestatic

Definition at line 80 of file node_hash_policy.h.

template<class Reference, class Policy>
template<class Alloc , class... Args>
static void absl::container_internal::node_hash_policy< Reference, Policy >::construct ( Alloc alloc,
slot_type slot,
Args &&...  args 
)
inlinestatic

Definition at line 53 of file node_hash_policy.h.

template<class Reference, class Policy>
template<class Alloc >
static void absl::container_internal::node_hash_policy< Reference, Policy >::destroy ( Alloc alloc,
slot_type slot 
)
inlinestatic

Definition at line 58 of file node_hash_policy.h.

template<class Reference, class Policy>
static Reference absl::container_internal::node_hash_policy< Reference, Policy >::element ( slot_type slot)
inlinestatic

Definition at line 72 of file node_hash_policy.h.

template<class Reference, class Policy>
static size_t absl::container_internal::node_hash_policy< Reference, Policy >::space_used ( const slot_type slot)
inlinestatic

Definition at line 67 of file node_hash_policy.h.

template<class Reference, class Policy>
template<class Alloc >
static void absl::container_internal::node_hash_policy< Reference, Policy >::transfer ( Alloc ,
slot_type new_slot,
slot_type old_slot 
)
inlinestatic

Definition at line 63 of file node_hash_policy.h.

template<class Reference, class Policy>
template<class T , class P = Policy>
static auto absl::container_internal::node_hash_policy< Reference, Policy >::value ( T *  elem) -> decltype(P::value(elem))
inlinestatic

Definition at line 75 of file node_hash_policy.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:19:59