UList< T >::less Struct Reference

A list compare binary predicate for normal sort. More...

Public Member Functions

 less (const UList< T > &list)
 
bool operator() (const label a, const label b) const
 

Public Attributes

const UList< T > & values
 

Detailed Description

template<class T>
struct Foam::UList< T >::less

A list compare binary predicate for normal sort.

Definition at line 179 of file UList.H.

Constructor & Destructor Documentation

◆ less()

less ( const UList< T > &  list)
inline

Definition at line 183 of file UList.H.

Member Function Documentation

◆ operator()()

bool operator() ( const label  a,
const label  b 
) const
inline

Definition at line 188 of file UList.H.

References Foam::constant::physicoChemical::b, and UList< T >::less::values.

Member Data Documentation

◆ values

const UList<T>& values

Definition at line 181 of file UList.H.

Referenced by UList< T >::less::operator()().


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