maxFirstOp< T1 > Struct Template Reference

Compare tuple-like containers. More...

Public Member Functions

const Pair< T1 > & operator() (const Pair< T1 > &a, const Pair< T1 > &b) const
 
template<class T2 >
const Tuple2< T1, T2 > & operator() (const Tuple2< T1, T2 > &a, const Tuple2< T1, T2 > &b) const
 

Detailed Description

template<class T1>
struct Foam::maxFirstOp< T1 >

Compare tuple-like containers.

Returns
reference to the container with the larger value of first

Definition at line 267 of file Tuple2.H.

Member Function Documentation

◆ operator()() [1/2]

const Pair<T1>& operator() ( const Pair< T1 > &  a,
const Pair< T1 > &  b 
) const
inline

Definition at line 269 of file Tuple2.H.

References Foam::constant::physicoChemical::b.

◆ operator()() [2/2]

const Tuple2<T1,T2>& operator() ( const Tuple2< T1, T2 > &  a,
const Tuple2< T1, T2 > &  b 
) const
inline

Definition at line 276 of file Tuple2.H.

References Foam::constant::physicoChemical::b.


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