|
Porytiles
|
#include <algorithm>#include <map>#include <utility>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | porytiles |
Functions | |
| template<typename T > | |
| std::vector< std::pair< T, unsigned int > > | porytiles::counts_to_descending_list (const std::map< T, unsigned int > &counts) |
| Converts a map of counts to a sorted vector of key-count pairs. | |