| 49 | |
| 50 | template <typename T> int32_t key_of(const T & v) { return v.key; } |
| 51 | template <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>. |
| 54 | inline bool key_less(const void * a, const void * b) { |