UList< T >::Hash< HashT > Struct Template Reference

Hashing function class for UList. More...

Public Member Functions

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

Detailed Description

template<class T>
template<class HashT = Foam::Hash<T>>
struct Foam::UList< T >::Hash< HashT >

Hashing function class for UList.

Can use this one (instead of the global Hash<>) for inheritance in sub-classes

Definition at line 514 of file UList.H.

Member Function Documentation

◆ operator()()

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

Definition at line 517 of file UList.H.

References UList< T >::cdata(), Foam::Hasher(), UList< T >::size(), Foam::T(), and Foam::val.

Here is the call graph for this function:

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