Loading...
Searching...
No Matches
Hash< bool > Struct Reference

Hashing of integral type: bool. More...

#include <Hash.H>

Inheritance diagram for Hash< bool >:
Collaboration diagram for Hash< bool >:

Public Member Functions

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

Detailed Description

Hashing of integral type: bool.

Unseeded (single value) uses natural order, otherwise incremental

Definition at line 106 of file Hash.H.

Member Function Documentation

◆ operator()() [1/2]

unsigned operator() ( const bool val) const
inline

Definition at line 106 of file Hash.H.

◆ operator()() [2/2]

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

Definition at line 106 of file Hash.H.


The documentation for this struct was generated from the following file:
  • src/OpenFOAM/primitives/hashes/Hash/Hash.H