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 521 of file UList.H.

Member Function Documentation

◆ operator()()

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

Definition at line 524 of file UList.H.

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

Here is the call graph for this function:

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