LogCabin
|
#include <algorithm>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | LogCabin |
namespace | LogCabin::Core |
namespace | LogCabin::Core::STLUtil |
Functions | |
template<typename Container > | |
Container | LogCabin::Core::STLUtil::sorted (Container container) |
Sort an R-value in place. | |
template<typename Map > | |
std::vector< typename Map::key_type > | LogCabin::Core::STLUtil::getKeys (const Map &map) |
Return a copy of the keys of a map. | |
template<typename Map > | |
std::vector< typename Map::mapped_type > | LogCabin::Core::STLUtil::getValues (const Map &map) |
Return a copy of the values of a map. | |
template<typename Map > | |
std::vector< std::pair < typename Map::key_type, typename Map::mapped_type > > | LogCabin::Core::STLUtil::getItems (const Map &map) |
Return a copy of the key-value pairs of a map. |