Hash< bool > Struct Template Reference

Hashing of integral type: bool. More...

Public Member Functions

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

Detailed Description

template<>
struct Foam::Hash< bool >

Hashing of integral type: bool.

Unseeded (single value) uses natural order, otherwise incremental

Definition at line 108 of file Hash.H.

Member Function Documentation

◆ operator()() [1/2]

unsigned operator() ( const bool  val) const
inline

Definition at line 108 of file Hash.H.

◆ operator()() [2/2]

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

Definition at line 108 of file Hash.H.


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