sample_ranged_probe_fn Interface (original) (raw)

A sample ranged-probe functor.

This class serves to show the interface a ranged-probe functor needs to support.

Defined in: sample_ranged_probe_fn.hpp

Public Types and Constants

General definitions.

Type Definition Description
size_type size_t, e.g. Size type.

Public Methods

Method Description
sample_ranged_probe_fn () Default constructor. Must be default constructable.
sample_ranged_probe_fn (const sample_ranged_probe_fn &other) Copy constructor. Must be copy constructable.
inline void swap (sample_ranged_probe_fn &other) Swaps content. Must be swappable (if there is such a word).

Protected Methods

Notification methods.

Method Description
void notify_resized (size_type size) Notifies the policy object that the container's size has changed to size.

Operators.

Method Description
inline size_type operator() (const_key_reference r_key, size_t hash, size_type i) const Transforms the const key referencer_key into the i-th position within the table. This method is called for each collision within the probe sequence.