libstdc++
std::__detail::_Mod_range_hashing Struct Reference

#include <hashtable_policy.h>

Public Types

typedef std::size_t first_argument_type
 
typedef std::size_t result_type
 
typedef std::size_t second_argument_type
 

Public Member Functions

result_type operator() (first_argument_type __num, second_argument_type __den) const noexcept
 

Detailed Description

Default range hashing function: use division to fold a large number into the range [0, N).

Definition at line 424 of file hashtable_policy.h.

Member Typedef Documentation

◆ first_argument_type

typedef std::size_t std::__detail::_Mod_range_hashing::first_argument_type

Definition at line 426 of file hashtable_policy.h.

◆ result_type

typedef std::size_t std::__detail::_Mod_range_hashing::result_type

Definition at line 428 of file hashtable_policy.h.

◆ second_argument_type

typedef std::size_t std::__detail::_Mod_range_hashing::second_argument_type

Definition at line 427 of file hashtable_policy.h.

Member Function Documentation

◆ operator()()

result_type std::__detail::_Mod_range_hashing::operator() ( first_argument_type  __num,
second_argument_type  __den 
) const
inlinenoexcept

Definition at line 431 of file hashtable_policy.h.


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