SYNOPSIS

Public Types

typedef std::size_t size_type

Public Member Functions

sample_range_hashing ()

sample_range_hashing (const sample_range_hashing &other)

void swap (sample_range_hashing &other)

Protected Member Functions

void notify_resized (size_type)

size_type operator() (size_type) const

Detailed Description

A sample range-hashing functor.

Definition at line 47 of file sample_range_hashing.hpp.

Member Typedef Documentation

typedef std::size_t \fB__gnu_pbds::sample_range_hashing::size_type\fP

Size type.

Definition at line 51 of file sample_range_hashing.hpp.

Constructor & Destructor Documentation

__gnu_pbds::sample_range_hashing::sample_range_hashing ()

Default constructor.

__gnu_pbds::sample_range_hashing::sample_range_hashing (const \fBsample_range_hashing\fP &other)

Copy constructor.

Member Function Documentation

void __gnu_pbds::sample_range_hashing::notify_resized (\fBsize_type\fP)\fC [protected]\fP

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

\fBsize_type\fP __gnu_pbds::sample_range_hashing::operator() (\fBsize_type\fP) const\fC [inline]\fP, \fC [protected]\fP

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

void __gnu_pbds::sample_range_hashing::swap (\fBsample_range_hashing\fP &other)\fC [inline]\fP

Swaps content.

Author

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