Classes | Typedefs | Functions
tsl::detail_robin_hash Namespace Reference

Classes

class  bucket_entry
 
class  bucket_entry_hash
 
class  bucket_entry_hash< true >
 
struct  has_is_transparent
 
struct  has_is_transparent< T, typename make_void< typename T::is_transparent >::type >
 
struct  is_power_of_two_policy
 
struct  is_power_of_two_policy< tsl::rh::power_of_two_growth_policy< GrowthFactor > >
 
struct  make_void
 
class  robin_hash
 

Typedefs

using slz_size_type = std::uint64_t
 
using truncated_hash_type = std::uint32_t
 

Functions

template<class T >
const T & clamp (const T &v, const T &lo, const T &hi)
 
template<class T , class Deserializer >
static T deserialize_value (Deserializer &deserializer)
 
template<typename T , typename U >
static T numeric_cast (U value, const char *error_message="numeric_cast() failed.")
 

Typedef Documentation

◆ slz_size_type

using tsl::detail_robin_hash::slz_size_type = typedef std::uint64_t

Fixed size type used to represent size_type values on serialization. Need to be big enough to represent a std::size_t on 32 and 64 bits platforms, and must be the same size on both platforms.

Definition at line 111 of file robin_hash.h.

◆ truncated_hash_type

using tsl::detail_robin_hash::truncated_hash_type = typedef std::uint32_t

Definition at line 116 of file robin_hash.h.

Function Documentation

◆ clamp()

template<class T >
const T& tsl::detail_robin_hash::clamp ( const T &  v,
const T &  lo,
const T &  hi 
)

Definition at line 71 of file robin_hash.h.

◆ deserialize_value()

template<class T , class Deserializer >
static T tsl::detail_robin_hash::deserialize_value ( Deserializer &  deserializer)
static

Definition at line 96 of file robin_hash.h.

◆ numeric_cast()

template<typename T , typename U >
static T tsl::detail_robin_hash::numeric_cast ( value,
const char *  error_message = "numeric_cast() failed." 
)
static

Definition at line 76 of file robin_hash.h.



mp2p_icp
Author(s): Jose-Luis Blanco-Claraco
autogenerated on Wed Jun 26 2024 02:47:11