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 585 of file ListOps.H.

Constructor & Destructor Documentation

◆ less()

less ( const ListType &  list)

Definition at line 589 of file ListOps.H.

Member Function Documentation

◆ operator()()

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

Definition at line 594 of file ListOps.H.

References b, and less< ListType >::values.

Member Data Documentation

◆ values

const ListType& values

Definition at line 587 of file ListOps.H.

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

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