Loading...
Searching...
No Matches
natural_sort::list_less< T > Struct Template Reference

A UList compare binary predicate for natural sort. More...

#include <stringOpsSort.H>

Public Member Functions

 list_less (const UList< T > &list) noexcept
bool operator() (label a, label b) const

Public Attributes

const UList< T > & values

Detailed Description

template<class T>
struct Foam::stringOps::natural_sort::list_less< T >

A UList compare binary predicate for natural sort.

Definition at line 130 of file stringOpsSort.H.

Constructor & Destructor Documentation

◆ list_less()

template<class T>
list_less ( const UList< T > & list)
inlinenoexcept

Definition at line 134 of file stringOpsSort.H.

References Foam::noexcept.

Member Function Documentation

◆ operator()()

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

Definition at line 139 of file stringOpsSort.H.

References b, natural_sort::compare(), and values.

Here is the call graph for this function:

Member Data Documentation

◆ values

template<class T>
const UList<T>& values

Definition at line 132 of file stringOpsSort.H.

Referenced by operator()().


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