MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / GetKeys

Function GetKeys

deps/memkind/src/test/bat_tests.cpp:220–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218
219template <typename T>
220std::vector<T> GetKeys(std::map<T, std::string> dict)
221{
222 std::vector<T> keys;
223 for (auto const &item: dict) {
224 keys.push_back(item.first);
225 }
226 return keys;
227}
228
229struct TestParameters {
230 static const std::map<test_function, std::string> functions;

Callers 1

bat_tests.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected