Hash< char > Struct Template Reference

Hashing of integral type: char. More...

Public Member Functions

unsigned operator() (const char val) const
 
unsigned operator() (const char val, unsigned seed) const
 

Detailed Description

template<>
struct Foam::Hash< char >

Hashing of integral type: char.

Unseeded (single value) uses natural order, otherwise incremental

Definition at line 109 of file Hash.H.

Member Function Documentation

◆ operator()() [1/2]

unsigned operator() ( const char  val) const
inline

Definition at line 109 of file Hash.H.

◆ operator()() [2/2]

unsigned operator() ( const char  val,
unsigned  seed 
) const
inline

Definition at line 109 of file Hash.H.


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