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

Function stableSortByComputedValue

source/core/StarAlgorithm.hpp:261–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259
260template <typename Container, typename Getter>
261void stableSortByComputedValue(Container& container, Getter&& valueGetter) {
262 return sortByComputedValue(container, std::forward<Getter>(valueGetter), true);
263}
264
265template <typename Container>
266void reverse(Container& c) {

Callers

nothing calls this directly

Calls 1

sortByComputedValueFunction · 0.85

Tested by

no test coverage detected