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

#include <flat_hash_set.h>

Public Types

using constant_iterators = std::true_type
 
using init_type = T
 
using key_type = T
 
using slot_type = T
 

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)
 
static T & element (slot_type *slot)
 
static size_t space_used (const T *)
 
template<class Allocator >
static void transfer (Allocator *alloc, slot_type *new_slot, slot_type *old_slot)
 

Detailed Description

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

Definition at line 45 of file flat_hash_set.h.

Member Typedef Documentation

◆ constant_iterators

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

Definition at line 448 of file flat_hash_set.h.

◆ init_type

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

Definition at line 447 of file flat_hash_set.h.

◆ key_type

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

Definition at line 446 of file flat_hash_set.h.

◆ slot_type

template<class T >
using absl::container_internal::FlatHashSetPolicy< T >::slot_type = T

Definition at line 445 of file flat_hash_set.h.

Member Function Documentation

◆ construct()

template<class T >
template<class Allocator , class... Args>
static void absl::container_internal::FlatHashSetPolicy< T >::construct ( Allocator *  alloc,
slot_type slot,
Args &&...  args 
)
inlinestatic

Definition at line 451 of file flat_hash_set.h.

◆ destroy()

template<class T >
template<class Allocator >
static void absl::container_internal::FlatHashSetPolicy< T >::destroy ( Allocator *  alloc,
slot_type slot 
)
inlinestatic

Definition at line 457 of file flat_hash_set.h.

◆ element()

template<class T >
static T& absl::container_internal::FlatHashSetPolicy< T >::element ( slot_type slot)
inlinestatic

Definition at line 468 of file flat_hash_set.h.

◆ space_used()

template<class T >
static size_t absl::container_internal::FlatHashSetPolicy< T >::space_used ( const T *  )
inlinestatic

Definition at line 478 of file flat_hash_set.h.

◆ transfer()

template<class T >
template<class Allocator >
static void absl::container_internal::FlatHashSetPolicy< T >::transfer ( Allocator *  alloc,
slot_type new_slot,
slot_type old_slot 
)
inlinestatic

Definition at line 462 of file flat_hash_set.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22