GNU g++  v5.2.1
GNU Standard C++
__gnu_pbds::sample_ranged_hash_fn Class Reference

A sample ranged-hash functor. More...

#include <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)
 Notifies the policy object that the container's __size has changed to size. More...
 
size_type operator() (key_const_reference) const
 Transforms key_const_reference into a position within the table. More...
 

Detailed Description

A sample ranged-hash functor.

Member Typedef Documentation

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
inlineprotected

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.


The documentation for this class was generated from the following file: