Template for sorting a std::pair. More...
#include <LSDCatchmentModel.hpp>
Public Member Functions | |
bool | operator() (const std::pair< T1, T2 > &left, const std::pair< T1, T2 > &right) |
Template for sorting a std::pair.
This template will perform a sort on the std::pair types. It will sort ascending based on the second item in the pair. It is intended to mimic the C# method: sort(Array,Array). Needs further testing, but should work in principle.