UPtrList< T >::less Struct Reference

Public Member Functions

 less (const UPtrList< T > &list)
bool operator() (const label ai, const label bi) const
 Compare dereferenced pointer locations for normal sort. More...

Public Attributes

const UPtrList< T > & values

Detailed Description

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

A UPtrList compare binary predicate for normal sort order. Null entries (if any) sort to the end.

Definition at line 137 of file UPtrList.H.

Constructor & Destructor Documentation

◆ less()

less ( const UPtrList< T > &  list)

Definition at line 141 of file UPtrList.H.

Member Function Documentation

◆ operator()()

bool operator() ( const label  ai,
const label  bi 
) const

Compare dereferenced pointer locations for normal sort.

Definition at line 147 of file UPtrList.H.

References b, T, and UPtrList< T >::less::values.

Member Data Documentation

◆ values

const UPtrList<T>& values

Definition at line 139 of file UPtrList.H.

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

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