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 187 of file UList.H.

Constructor & Destructor Documentation

◆ less()

less ( const UList< T > &  list)
inline

Definition at line 191 of file UList.H.

Member Function Documentation

◆ operator()()

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

Definition at line 196 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 189 of file UList.H.

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


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