Public Types | Static Public Member Functions | List of all members
absl::container_internal::NodeHashSetPolicy< T > Struct Template Reference

#include <node_hash_set.h>

Inheritance diagram for absl::container_internal::NodeHashSetPolicy< T >:
Inheritance graph
[legend]

Public Types

using constant_iterators = std::true_type
 
using init_type = T
 
using key_type = T
 
- Public Types inherited from absl::container_internal::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 >
static void delete_element (Allocator *alloc, T *elem)
 
static size_t element_space_used (const T *)
 
template<class Allocator , class... Args>
static T * new_element (Allocator *alloc, Args &&...args)
 
- Static Public Member Functions inherited from absl::container_internal::node_hash_policy< T &, NodeHashSetPolicy< T > >
static auto apply (Ts &&...ts) -> decltype(P::apply(std::forward< Ts >(ts)...))
 
static void construct (Alloc *alloc, slot_type *slot, Args &&...args)
 
static void destroy (Alloc *alloc, slot_type *slot)
 
static T & element (slot_type *slot)
 
static size_t space_used (const slot_type *slot)
 
static void transfer (Alloc *, slot_type *new_slot, slot_type *old_slot)
 
static auto value (T *elem) -> decltype(P::value(elem))
 

Detailed Description

template<class T>
struct absl::container_internal::NodeHashSetPolicy< T >

Definition at line 49 of file node_hash_set.h.

Member Typedef Documentation

template<class T >
using absl::container_internal::NodeHashSetPolicy< T >::constant_iterators = std::true_type

Definition at line 444 of file node_hash_set.h.

template<class T >
using absl::container_internal::NodeHashSetPolicy< T >::init_type = T

Definition at line 443 of file node_hash_set.h.

template<class T >
using absl::container_internal::NodeHashSetPolicy< T >::key_type = T

Definition at line 442 of file node_hash_set.h.

Member Function Documentation

template<class T >
template<class Allocator >
static void absl::container_internal::NodeHashSetPolicy< T >::delete_element ( Allocator *  alloc,
T *  elem 
)
inlinestatic

Definition at line 458 of file node_hash_set.h.

template<class T >
static size_t absl::container_internal::NodeHashSetPolicy< T >::element_space_used ( const T *  )
inlinestatic

Definition at line 474 of file node_hash_set.h.

template<class T >
template<class Allocator , class... Args>
static T* absl::container_internal::NodeHashSetPolicy< T >::new_element ( Allocator *  alloc,
Args &&...  args 
)
inlinestatic

Definition at line 447 of file node_hash_set.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