DOKK / manpages / debian 12 / libstdc++-11-doc / __gnu_pbds::direct_mod_range_hashing.3cxx.en
__gnu_pbds::direct_mod_range_hashing< Size_Type >(3cxx) __gnu_pbds::direct_mod_range_hashing< Size_Type >(3cxx)

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

#include <hash_policy.hpp>

Inherits __gnu_pbds::detail::mod_based_range_hashing< std::size_t >.


typedef Size_Type size_type


void swap (direct_mod_range_hashing< Size_Type > &other)


void notify_resized (size_type s)
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)

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.

Definition at line 145 of file hash_policy.hpp.

void __gnu_pbds::detail::mod_based_range_hashing< std::size_t >::notify_resized (size_type s) [inline], [protected], [inherited]

Definition at line 60 of file mod_based_range_hashing.hpp.

Transforms the __hash value hash into a ranged-hash value (using a modulo operation).

Definition at line 64 of file mod_based_range_hashing.hpp.

void __gnu_pbds::detail::mod_based_range_hashing< std::size_t >::swap (mod_based_range_hashing< std::size_t > & other) [inline], [protected], [inherited]

Definition at line 56 of file mod_based_range_hashing.hpp.

Generated automatically by Doxygen for libstdc++ from the source code.

Thu Feb 16 2023 libstdc++