MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / SortNumbers

Function SortNumbers

WinArk/SortHelper.h:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11 template<typename Number>
12 static bool SortNumbers(const Number& n1, const Number& n2, bool ascending) {
13 return ascending ? n2 > n1 : n2 < n1;
14 }
15};

Callers 11

DoSortMethod · 0.85
CompareItemsMethod · 0.85
DoSortMethod · 0.85
DoSortMethod · 0.85
CompareItemsMethod · 0.85
CompareItemsMethod · 0.85
DoSortMethod · 0.85
CompareItemsMethod · 0.85
CompareItemsMethod · 0.85
CompareItemsMethod · 0.85
DoSortMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected