less< ListType > Struct Template Reference

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

Public Member Functions

 less (const ListType &list)
 
bool operator() (const label a, const label b) const
 

Public Attributes

const ListType & values
 

Detailed Description

template<class ListType>
struct Foam::ListOps::less< ListType >

A list compare binary predicate for normal sort.

Definition at line 593 of file ListOps.H.

Constructor & Destructor Documentation

◆ less()

less ( const ListType &  list)
inline

Definition at line 597 of file ListOps.H.

Member Function Documentation

◆ operator()()

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

Definition at line 602 of file ListOps.H.

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

Member Data Documentation

◆ values

const ListType& values

Definition at line 595 of file ListOps.H.

Referenced by less< ListType >::operator()().


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