CoMMA 1.3.2
A geometric agglomerator for unstructured meshes
Loading...
Searching...
No Matches
comma::PairSecondBasedLessFunctor< PairT > Struct Template Reference

Functor for pairs implementing a less operator based only on the second element of the pair. More...

#include <Util.h>

Public Member Functions

bool operator() (const PairT &left, const PairT &right) const
 Functor for pairs implementing a less operator based only on the second element of the pair. More...
 

Detailed Description

template<typename PairT>
struct comma::PairSecondBasedLessFunctor< PairT >

Functor for pairs implementing a less operator based only on the second element of the pair.

Template Parameters
PairTType for pairs

Member Function Documentation

◆ operator()()

template<typename PairT >
bool comma::PairSecondBasedLessFunctor< PairT >::operator() ( const PairT &  left,
const PairT &  right 
) const
inline

Functor for pairs implementing a less operator based only on the second element of the pair.

Parameters
[in]leftFirst pair
[in]rightSecond pair
Returns
true if left.second < right.second; false otherwise

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