libstdc++: __gnu_pbds::linear_probe_fn< Size_Type > Class Template Reference

libstdc++

__gnu_pbds::linear_probe_fn< Size_Type > Class Template Reference

`#include <hash_policy.hpp>`

## Public Types
typedef Size_Type | size_type

## Public Member Functions
void | swap (linear_probe_fn< Size_Type > &other)

## Protected Member Functions
size_type | operator() (size_type i) const

## Detailed Description

template<typename Size_Type = std::size_t>
class __gnu_pbds::linear_probe_fn< Size_Type >

A probe sequence policy using fixed increments.

Definition at line 61 of file hash_policy.hpp.

## Member Typedef Documentation

## ◆ size_type

template<typename Size_Type = std::size_t>

typedef Size_Type __gnu_pbds::linear_probe_fn< Size_Type >::size_type

Definition at line 64 of file hash_policy.hpp.

## Member Function Documentation

## ◆ operator()()

template<typename Size_Type>

linear_probe_fn< Size_Type >::size_type __gnu_pbds::linear_probe_fn< Size_Type >::operator() | ( | size_type | i | ) | const
| inlineprotected

Returns the i-th offset from the hash value.

Definition at line 52 of file hash_policy.hpp.

## ◆ swap()

template<typename Size_Type>

void __gnu_pbds::linear_probe_fn< Size_Type >::swap | ( | linear_probe_fn< Size_Type > & | other | ) |
| inline

Definition at line 46 of file hash_policy.hpp.

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

- hash_policy.hpp