minFirstOp< 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::minFirstOp< T1 >

Compare tuple-like containers.

Returns
reference to the container with the smaller value of first

Definition at line 231 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 233 of file Tuple2.H.

References b, UList< T >::first(), and FixedList< T, N >::first().

Here is the call graph for this function:

◆ operator()() [2/2]

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

Definition at line 240 of file Tuple2.H.

References b, UList< T >::first(), and Tuple2< T1, T2 >::first().

Here is the call graph for this function:

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