Hash< Pair< T > > Struct Template Reference

Public Member Functions

unsigned operator() (const Pair< T > &obj, unsigned seed=0) const
 

Detailed Description

template<class T>
struct Foam::Hash< Pair< T > >

Hashing for Pair data, which uses Hasher for contiguous data and element-wise incrementally hashing otherwise.

Definition at line 196 of file Pair.H.

Member Function Documentation

◆ operator()()

unsigned operator() ( const Pair< T > &  obj,
unsigned  seed = 0 
) const
inline

Definition at line 198 of file Pair.H.

References Foam::Hasher(), and Pair< T >::second().

Here is the call graph for this function:

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