Loading...
Searching...
No Matches
less< ListType > Struct Template Reference

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

#include <ListOps.H>

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

Constructor & Destructor Documentation

◆ less()

template<class ListType>
less ( const ListType & list)
inline

Definition at line 758 of file ListOps.H.

References values.

Member Function Documentation

◆ operator()()

template<class ListType>
bool operator() ( const label a,
const label b ) const
inline

Definition at line 763 of file ListOps.H.

References b, and values.

Member Data Documentation

◆ values

template<class ListType>
const ListType& values

Definition at line 756 of file ListOps.H.

Referenced by less(), and operator()().


The documentation for this struct was generated from the following file:
  • src/OpenFOAM/containers/Lists/ListOps/ListOps.H