Hash< T > Class Template Reference

Hash function class. The default definition is for primitives. Non-primitives used to hash entries on hash tables will need a specialized version. More...

Public Member Functions

unsigned operator() (const T &obj, unsigned seed=0) const
 

Detailed Description

template<class T>
class Foam::Hash< T >

Hash function class. The default definition is for primitives. Non-primitives used to hash entries on hash tables will need a specialized version.

Definition at line 53 of file Hash.H.

Member Function Documentation

◆ operator()()

unsigned operator() ( const T obj,
unsigned  seed = 0 
) const
inline

Definition at line 55 of file Hash.H.

References Foam::Hasher(), and T.

Here is the call graph for this function:

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