Hash< void * > Class Reference

Hash specialisation for hashing pointer addresses. More...

Public Member Functions

 Hash ()
 
unsigned operator() (const void *const &p, unsigned seed) const
 
unsigned operator() (const void *const &p) const
 

Detailed Description

Hash specialisation for hashing pointer addresses.

Treat a pointer like a long. This should work for both 32-bit and 64-bit pointers.

Definition at line 206 of file Hash.H.

Constructor & Destructor Documentation

◆ Hash()

Hash ( )
inline

Definition at line 210 of file Hash.H.

Member Function Documentation

◆ operator()() [1/2]

unsigned operator() ( const void *const &  p,
unsigned  seed 
) const
inline

Definition at line 213 of file Hash.H.

References p.

◆ operator()() [2/2]

unsigned operator() ( const void *const &  p) const
inline

Definition at line 218 of file Hash.H.

References p.


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