direct_mask_range_hashing Interface

A mask range-hashing class (uses a bit-mask).

  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_mask_range_hashing &r_other)

Swaps content.

Notification methods.

MethodDescription
void
  notify_resized
  (size_type size)

Notifies the policy object that the container's size has changed to size.

Operators.

MethodDescription
inline size_type
  operator()
  (size_type hash) const

Transforms the hash value hash into a ranged-hash value (using a bit-mask).