Loading...
Searching...
No Matches
Pair< T >::symmHasher Struct Reference

Symmetric hashing functor for Pair, hashes lower value first. More...

#include <Pair.H>

Public Member Functions

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

Detailed Description

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

Symmetric hashing functor for Pair, hashes lower value first.

Regular hasher inherited from FixedList

Definition at line 201 of file Pair.H.

Member Function Documentation

◆ operator()()

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

Definition at line 203 of file Pair.H.

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

Here is the call graph for this function:

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