Aprepro 5.0x
Loading...
Searching...
No Matches
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<typename T , typename U >
static T numeric_cast (U value, const char *error_message="numeric_cast() failed.")
 
template<class T , class Deserializer >
static T deserialize_value (Deserializer &deserializer)
 

Typedef Documentation

◆ slz_size_type

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.

◆ truncated_hash_type

Function Documentation

◆ clamp()

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

◆ deserialize_value()

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

◆ numeric_cast()

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