libstdc++
__gnu_pbds::detail::mod_based_range_hashing< Size_Type > Class Template Reference

#include <mod_based_range_hashing.hpp>

Inheritance diagram for __gnu_pbds::detail::mod_based_range_hashing< Size_Type >:
[legend]

Protected Types

typedef Size_Type size_type
 

Protected Member Functions

void notify_resized (size_type s)
 
size_type range_hash (size_type s) const
 
void swap (mod_based_range_hashing &other)
 

Detailed Description

template<typename Size_Type>
class __gnu_pbds::detail::mod_based_range_hashing< Size_Type >

Mod based range hashing.

Definition at line 50 of file mod_based_range_hashing.hpp.

Member Typedef Documentation

◆ size_type

template<typename Size_Type >
typedef Size_Type __gnu_pbds::detail::mod_based_range_hashing< Size_Type >::size_type
protected

Definition at line 53 of file mod_based_range_hashing.hpp.

Member Function Documentation

◆ notify_resized()

template<typename Size_Type >
void __gnu_pbds::detail::mod_based_range_hashing< Size_Type >::notify_resized ( size_type  s)
inlineprotected

Definition at line 60 of file mod_based_range_hashing.hpp.

◆ range_hash()

template<typename Size_Type >
size_type __gnu_pbds::detail::mod_based_range_hashing< Size_Type >::range_hash ( size_type  s) const
inlineprotected

Definition at line 64 of file mod_based_range_hashing.hpp.

◆ swap()

template<typename Size_Type >
void __gnu_pbds::detail::mod_based_range_hashing< Size_Type >::swap ( mod_based_range_hashing< Size_Type > &  other)
inlineprotected

Definition at line 56 of file mod_based_range_hashing.hpp.


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