libstdc++: __gnu_pbds::sample_probe_fn Class Reference

libstdc++

__gnu_pbds::sample_probe_fn Class Reference

`#include <sample_probe_fn.hpp>`

## Public Types
typedef std::size_t | size_type

## Public Member Functions
| sample_probe_fn ()
| sample_probe_fn (const sample_probe_fn &)
void | swap (sample_probe_fn &)

## Protected Member Functions
size_type | operator() (key_const_reference r_key, size_type i) const

## Detailed Description

A sample probe policy.

Definition at line 47 of file sample_probe_fn.hpp.

## Member Typedef Documentation

## ◆ size_type

typedef std::size_t __gnu_pbds::sample_probe_fn::size_type

Definition at line 50 of file sample_probe_fn.hpp.

## Constructor & Destructor Documentation

## ◆ sample_probe_fn() [1/2]

__gnu_pbds::sample_probe_fn::sample_probe_fn | ( |  | ) |

Default constructor.

Referenced by sample_probe_fn(), and swap().

## ◆ sample_probe_fn() [2/2]

__gnu_pbds::sample_probe_fn::sample_probe_fn | ( | const sample_probe_fn & |  | ) |

Copy constructor.

References sample_probe_fn().

## Member Function Documentation

## ◆ operator()()

size_type __gnu_pbds::sample_probe_fn::operator() | ( | key_const_reference | r_key,
|  | size_type | i ) const
| inlineprotected

Returns the i-th offset from the hash value of some key r_key.

## ◆ swap()

void __gnu_pbds::sample_probe_fn::swap | ( | sample_probe_fn & |  | ) |
| inline

Swaps content.

References sample_probe_fn().

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

- sample_probe_fn.hpp