maxFirstEqOp< T1 > Struct Template Reference

Assign tuple-like container to use the one with the larger value of first. More...

Public Member Functions

void operator() (Pair< T1 > &x, const Pair< T1 > &y) const
 
template<class T2 >
void operator() (Tuple2< T1, T2 > &x, const Tuple2< T1, T2 > &y) const
 

Detailed Description

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

Assign tuple-like container to use the one with the larger value of first.

Definition at line 285 of file Tuple2.H.

Member Function Documentation

◆ operator()() [1/2]

void operator() ( Pair< T1 > &  x,
const Pair< T1 > &  y 
) const
inline

Definition at line 287 of file Tuple2.H.

References x, and y.

◆ operator()() [2/2]

void operator() ( Tuple2< T1, T2 > &  x,
const Tuple2< T1, T2 > &  y 
) const
inline

Definition at line 293 of file Tuple2.H.

References x, and y.


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