direct_mod_range_hashing Interface

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

  1. hash_policy.hpp
  2. Template parameters.
  3. Public Types and Constants:
    1. General definitions.
  4. Public Methods:
    1. Constructors, destructor, and related.
  5. Protected Methods:
    1. Notification methods.
    2. Operators.

Template parameters.

ParameterDescriptionDefault Value
Size_Type

Size type.

size_t

General definitions.

TypeDefinitionDescription
size_type
Size_Type

Size type.

Constructors, destructor, and related.

MethodDescription
void
  swap
  (direct_mod_range_hashing &r_other)

Swaps content.

Notification methods.

Operators.

MethodDescription
inline size_type
  operator()
  (size_type hash) const

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