__gnu_pbds::sample_ranged_hash_fn.3cxx
Contents
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(constsample_ranged_hash_fn&)
Copy constructor.
Detailed Description
A sample ranged-hash functor.
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.
Name
__gnu_pbds::sample_ranged_hash_fn - A sample ranged-hash functor.
Synopsis
#include <sample_ranged_hash_fn.hpp>
PublicTypes
typedef std::size_t size_typePublicMemberFunctionssample_ranged_hash_fn ()
Default constructor.
sample_ranged_hash_fn (const sample_ranged_hash_fn &)
Copy constructor.
void swap (sample_ranged_hash_fn &)
Swaps content.
ProtectedMemberFunctions
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.
