MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / sort

Function sort

source/core/StarAlgorithm.hpp:178–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176
177template <typename Container, typename Compare>
178void sort(Container& c, Compare comp) {
179 std::sort(c.begin(), c.end(), comp);
180}
181
182template <typename Container, typename Compare>
183void stableSort(Container& c, Compare comp) {

Callers 12

tryFlattenMethod · 0.70
ParametricTableMethod · 0.70
interpolateMethod · 0.70
edgeIntersectionMethod · 0.70
convexHullMethod · 0.70
sortedFunction · 0.70
stableSortedFunction · 0.70
sortByComputedValueFunction · 0.70
sortByKeyMethod · 0.70
sortByValueMethod · 0.70
forEachMethod · 0.70
sortMethod · 0.70

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected