SIMPLE SOLUTIONS

__GNU_PBDS::DIRECT_MOD_RANGE_HASHING(3CXX) - Linux man page online | Library functions

A mod range-hashing class (uses the modulo function).

Chapter
Tue Mar 10 2020
__gnu_pbds::direct_mod_range_hashing< Size__gnu_pbds::direct_mod_range_hashing< Size_Type >(3cxx)

NAME

__gnu_pbds::direct_mod_range_hashing< Size_Type > - A mod range-hashing class (uses the modulo function).

SYNOPSIS

Inherits __gnu_pbds::detail::mod_based_range_hashing< Size_Type >. Public Types typedef Size_Type size_type Public Member Functions void swap (direct_mod_range_hashing< Size_Type > &other) Protected Member Functions void notify_resized (size_type size) size_type operator() (size_type hash) const Transforms the __hash value hash into a ranged-hash value (using a modulo operation). size_type range_hash (size_type s) const void swap (mod_based_range_hashing &other) Detailed Description template<typename Size_Type = std::size_t> class __gnu_pbds::direct_mod_range_hashing< Size_Type >" A mod range-hashing class (uses the modulo function). Definition at line 141 of file hash_policy.hpp. Member Function Documentation template<typename Size_Type > direct_mod_range_hashing< Size_Type >::size_type __gnu_pbds::direct_mod_range_hashing< Size_Type >::operator() (size_type hash) const [inline], [protected] Transforms the __hash value hash into a ranged-hash value (using a modulo operation). Definition at line 57 of file hash_policy.hpp. Author Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ T__gnu_pbds::direct_mod_range_hashing< Size_Type >(3cxx)
Download raw manual
Main page libstdc++ (+874) № 3 (+68044)
Go top