libstdc++
__gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false > Class Template Reference

#include <ranged_hash_fn.hpp>

Inherits Hash_Fn, and Comb_Hash_Fn.

Protected Types

typedef Comb_Hash_Fn comb_hash_fn_base
 
typedef Hash_Fn hash_fn_base
 
typedef rebind_traits< _Alloc, Key >::const_reference key_const_reference
 
typedef _Alloc::size_type size_type
 

Protected Member Functions

 ranged_hash_fn (size_type)
 
 ranged_hash_fn (size_type, const Hash_Fn &)
 
 ranged_hash_fn (size_type, const Hash_Fn &, const Comb_Hash_Fn &)
 
void notify_resized (size_type)
 
size_type operator() (key_const_reference) const
 
void swap (ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false > &)
 

Detailed Description

template<typename Key, typename Hash_Fn, typename _Alloc, typename Comb_Hash_Fn>
class __gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >

Specialization 1 The client supplies a hash function and a ranged hash function, and requests that hash values not be stored.

Definition at line 72 of file ranged_hash_fn.hpp.

Member Typedef Documentation

◆ comb_hash_fn_base

template<typename Key , typename Hash_Fn , typename _Alloc , typename Comb_Hash_Fn >
typedef Comb_Hash_Fn __gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >::comb_hash_fn_base
protected

Definition at line 78 of file ranged_hash_fn.hpp.

◆ hash_fn_base

template<typename Key , typename Hash_Fn , typename _Alloc , typename Comb_Hash_Fn >
typedef Hash_Fn __gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >::hash_fn_base
protected

Definition at line 77 of file ranged_hash_fn.hpp.

◆ key_const_reference

template<typename Key , typename Hash_Fn , typename _Alloc , typename Comb_Hash_Fn >
typedef rebind_traits<_Alloc,Key>::const_reference __gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >::key_const_reference
protected

Definition at line 80 of file ranged_hash_fn.hpp.

◆ size_type

template<typename Key , typename Hash_Fn , typename _Alloc , typename Comb_Hash_Fn >
typedef _Alloc::size_type __gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >::size_type
protected

Definition at line 76 of file ranged_hash_fn.hpp.

Constructor & Destructor Documentation

◆ ranged_hash_fn() [1/3]

template<typename Key , typename Hash_Fn , typename _Alloc , typename Comb_Hash_Fn >
__gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >::ranged_hash_fn ( size_type  size)
protected

Definition at line 99 of file ranged_hash_fn.hpp.

◆ ranged_hash_fn() [2/3]

template<typename Key , typename Hash_Fn , typename _Alloc , typename Comb_Hash_Fn >
__gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >::ranged_hash_fn ( size_type  size,
const Hash_Fn &  r_hash_fn 
)
protected

Definition at line 104 of file ranged_hash_fn.hpp.

◆ ranged_hash_fn() [3/3]

template<typename Key , typename Hash_Fn , typename _Alloc , typename Comb_Hash_Fn >
__gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >::ranged_hash_fn ( size_type  size,
const Hash_Fn &  r_hash_fn,
const Comb_Hash_Fn &  r_comb_hash_fn 
)
protected

Definition at line 110 of file ranged_hash_fn.hpp.

Member Function Documentation

◆ notify_resized()

template<typename Key , typename Hash_Fn , typename _Alloc , typename Comb_Hash_Fn >
void __gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >::notify_resized ( size_type  size)
protected

Definition at line 127 of file ranged_hash_fn.hpp.

◆ operator()()

template<typename Key , typename Hash_Fn , typename _Alloc , typename Comb_Hash_Fn >
ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >::size_type __gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >::operator() ( key_const_reference  r_key) const
inlineprotected

Definition at line 133 of file ranged_hash_fn.hpp.

◆ swap()

template<typename Key , typename Hash_Fn , typename _Alloc , typename Comb_Hash_Fn >
void __gnu_pbds::detail::ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false >::swap ( ranged_hash_fn< Key, Hash_Fn, _Alloc, Comb_Hash_Fn, false > &  other)
protected

Definition at line 118 of file ranged_hash_fn.hpp.


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