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

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

#include <Tuple2.H>

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

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

Definition at line 256 of file Tuple2.H.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 258 of file Tuple2.H.

References x, and y.

◆ operator()() [2/2]

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

Definition at line 264 of file Tuple2.H.

References x, and y.


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