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

Hashing of integral type: int32_t. More...

#include <Hash.H>

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

Public Member Functions

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

Detailed Description

Hashing of integral type: int32_t.

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 int32_t val) const
inline

Definition at line 108 of file Hash.H.

◆ operator()() [2/2]

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

Definition at line 108 of file Hash.H.


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