| 244 | |
| 245 | template <typename Tint = size_t, typename Seq, typename Get_Key> |
| 246 | std::pair<sequence<typename Seq::value_type>, sequence<Tint>> |
| 247 | integer_sort_with_counts(Seq const &In, Get_Key const &g, size_t num_buckets) { |
| 248 | size_t bits = log2_up(num_buckets); |
| 249 | auto R = integer_sort(In, g, bits); |
| 250 | return std::make_pair(std::move(R), get_counts<Tint>(R, g, num_buckets)); |
| 251 | } |
| 252 | |
| 253 | } // namespace pbbs |
nothing calls this directly
no test coverage detected