MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / idx_of

Function idx_of

examples/sort/bench_stable_sort.cpp:51–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50template <typename T> int32_t key_of(const T & v) { return v.key; }
51template <typename T> int32_t idx_of(const T & v) { return v.idx; }
52
53// Byte-pointer comparator over the candidates: key is the first 4 bytes of every SPayload<W>.
54inline bool key_less(const void * a, const void * b) {

Callers 1

verify_fullFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected