Visual Computing Library
Loading...
Searching...
No Matches
vcl::PairComparator< Pair > Struct Template Reference

The PairComparator struct is an utility comparator to allow to sort pairs in lexical order. More...

#include <vclib/misc/comparators.h>

Public Member Functions

bool operator() (const Pair &p1, const Pair &p2) const
 

Detailed Description

template<typename Pair>
struct vcl::PairComparator< Pair >

The PairComparator struct is an utility comparator to allow to sort pairs in lexical order.

It first compare the first element, and in case they are equal it compares the second element.


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