18 namespace ValueIndexPairSorting {
24 auto higherPair = [](
const T& a,
const T& b) ->
bool
27 if (std::isnan(a.first))
return false;
28 if (std::isnan(b.first))
return true;
29 return a.first > b.first;
36 auto lowerPair = [](
const T& a,
const T& b) ->
bool
39 if (std::isnan(a.first))
return false;
40 if (std::isnan(b.first))
return true;
41 return a.first < b.first;
Abstract base class for different kinds of events.