Hash< T > Class Template Reference

Hash function class. The default definition is for primitives, non-primitives used to hash entries on hash tables likely need a specialized version of this class. More...

Inheritance diagram for Hash< T >:
[legend]

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 likely need a specialized version of this class.

Definition at line 55 of file Hash.H.

Member Function Documentation

◆ operator()()

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

Definition at line 57 of file Hash.H.


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