__gnu_pbds::sample_ranged_hash_fn(3cxx)

__gnu_pbds::sample_ranged_hash_fn3cxx

A sample ranged-hash functor.

Usage

#include <sample_ranged_hash_fn.hpp>

Public Types

typedef std::size_t size_type

Public Member Functions

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

Protected Member Functions

void notify_resized (size_type)
Notifies the policy object that the container's __size has changed to size. size_type operator() (key_const_reference) const
Transforms key_const_reference into a position within the table.

Detailed Description

A sample ranged-hash functor.

Constructor & Destructor Documentation

__gnu_pbds::sample_ranged_hash_fn::sample_ranged_hash_fn ()

Default constructor.

__gnu_pbds::sample_ranged_hash_fn::sample_ranged_hash_fn (const sample_ranged_hash_fn &)

Copy constructor.

Member Function Documentation

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

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

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

Transforms key_const_reference into a position within the table.

void __gnu_pbds::sample_ranged_hash_fn::swap (sample_ranged_hash_fn &) [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.