__gnu_pbds::sample_range_hashing(3cxx)

__gnu_pbds::sample_range_hashing3cxx

A sample range-hashing functor.

Usage

#include <sample_range_hashing.hpp>

Public Types

typedef std::size_t size_type
Size type.

Public Member Functions

sample_range_hashing ()
Default constructor. sample_range_hashing (const sample_range_hashing &other)
Copy constructor. void swap (sample_range_hashing &other)
Swaps content.

Protected Member Functions

void notify_resized (size_type)
Notifies the policy object that the container's size has changed to argument's size. size_type operator() (size_type) const
Transforms the __hash value hash into a ranged-hash value.

Detailed Description

A sample range-hashing functor.

Member Typedef Documentation

typedef std::size_t __gnu_pbds::sample_range_hashing::size_type

Size type.

Constructor & Destructor Documentation

__gnu_pbds::sample_range_hashing::sample_range_hashing ()

Default constructor.

__gnu_pbds::sample_range_hashing::sample_range_hashing (const sample_range_hashing & other)

Copy constructor.

Member Function Documentation

void __gnu_pbds::sample_range_hashing::notify_resized (size_type) [protected]

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

size_type __gnu_pbds::sample_range_hashing::operator() (size_type) const [inline], [protected]

Transforms the __hash value hash into a ranged-hash value.

void __gnu_pbds::sample_range_hashing::swap (sample_range_hashing & other) [inline]

Swaps content.

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.