|
STLdoc
STLdocumentation
|
A sample ranged-hash functor. More...
#include <ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp>
Public Types | |
| typedef std::size_t | size_type |
Public Member Functions | |
| sample_ranged_hash_fn () | |
| Default constructor. More... | |
| sample_ranged_hash_fn (const sample_ranged_hash_fn &) | |
| Copy constructor. More... | |
| void | swap (sample_ranged_hash_fn &) |
| Swaps content. More... | |
Protected Member Functions | |
| void | notify_resized (size_type) |
| size_type | operator() (key_const_reference) const |
| Transforms key_const_reference into a position within the table. More... | |
A sample ranged-hash functor.
| __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.
|
protected |
Notifies the policy object that the container's __size has changed to size.
|
inlineprotected |
Transforms key_const_reference into a position within the table.
|
inline |
Swaps content.
1.8.6