Loading...
Searching...
No Matches
minFirstOp< T1 > Struct Template Reference

Compare tuple-like containers. More...

#include <Tuple2.H>

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 236 of file Tuple2.H.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 238 of file Tuple2.H.

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

Here is the call graph for this function:

◆ operator()() [2/2]

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

Definition at line 245 of file Tuple2.H.

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

Here is the call graph for this function:

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